{
 "version": "2.2",
 "instance": {
  "by-20240630.htm": {
   "nsprefix": "by",
   "nsuri": "http://www.bylinebank.com/20240630",
   "dts": {
    "inline": {
     "local": [
      "by-20240630.htm"
     ]
    },
    "schema": {
     "local": [
      "by-20240630.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/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/2022-03-31/types.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-roles-2023.xsd",
      "https://xbrl.fasb.org/srt/2023/elts/srt-types-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-roles-2023.xsd",
      "https://xbrl.fasb.org/us-gaap/2023/elts/us-types-2023.xsd",
      "https://xbrl.sec.gov/country/2023/country-2023.xsd",
      "https://xbrl.sec.gov/dei/2023/dei-2023.xsd"
     ]
    }
   },
   "keyStandard": 448,
   "keyCustom": 143,
   "axisStandard": 39,
   "axisCustom": 0,
   "memberStandard": 74,
   "memberCustom": 70,
   "hidden": {
    "total": 20,
    "http://fasb.org/us-gaap/2023": 16,
    "http://xbrl.sec.gov/dei/2023": 4
   },
   "contextCount": 816,
   "entityCount": 1,
   "segmentCount": 146,
   "elementCount": 1045,
   "unitCount": 6,
   "baseTaxonomies": {
    "http://fasb.org/us-gaap/2023": 3264,
    "http://xbrl.sec.gov/dei/2023": 30
   },
   "report": {
    "R1": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "longName": "100000 - Document - Document And Entity Information",
     "shortName": "Document And Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "dei:DocumentType",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED",
     "longName": "100010 - 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_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R3": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical",
     "longName": "100050 - 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_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R4": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
     "longName": "100070 - 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_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:InterestIncomeSecuritiesTaxable",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R5": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
     "longName": "100080 - 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_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R6": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
     "longName": "100090 - 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_ae5e7452-424e-493a-ae03-0974f5cf9536",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_dc123f45-da5d-4c59-9539-4dfe05d32d5a",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R7": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical",
     "longName": "100100 - 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_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R8": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
     "longName": "100110 - 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_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ProvisionForCreditLosses",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R9": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentation",
     "longName": "100120 - Disclosure - Basis of Presentation",
     "shortName": "Basis of Presentation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "9",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R10": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssued",
     "longName": "100130 - Disclosure - Accounting Pronouncements Recently Adopted or Issued",
     "shortName": "Accounting Pronouncements Recently Adopted or Issued",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "10",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R11": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusiness",
     "longName": "100140 - Disclosure - Acquisition of a Business",
     "shortName": "Acquisition of a Business",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "11",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R12": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecurities",
     "longName": "100150 - Disclosure - Securities",
     "shortName": "Securities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "12",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R13": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLosses",
     "longName": "100160 - 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": "13",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R14": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssets",
     "longName": "100170 - Disclosure - Servicing Assets",
     "shortName": "Servicing Assets",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "14",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R15": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherRealEstateOwned",
     "longName": "100180 - Disclosure - Other Real Estate Owned",
     "shortName": "Other Real Estate Owned",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "15",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R16": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeases",
     "longName": "100190 - Disclosure - Leases",
     "shortName": "Leases",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "16",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R17": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssets",
     "longName": "100200 - 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": "17",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R18": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxes",
     "longName": "100210 - Disclosure - Income Taxes",
     "shortName": "Income Taxes",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "18",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R19": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDeposits",
     "longName": "100220 - Disclosure - Deposits",
     "shortName": "Deposits",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "19",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R20": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowings",
     "longName": "100230 - Disclosure - Other Borrowings",
     "shortName": "Other Borrowings",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "20",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R21": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebentures",
     "longName": "100240 - Disclosure - Subordinated Notes and Junior Subordinated Debentures",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "21",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R22": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilities",
     "longName": "100250 - Disclosure - Commitments and Contingent Liabilities",
     "shortName": "Commitments and Contingent Liabilities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "22",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R23": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "longName": "100260 - Disclosure - Fair Value Measurement",
     "shortName": "Fair Value Measurement",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "23",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R24": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivities",
     "longName": "100270 - Disclosure - Derivative Instruments and Hedge Activities",
     "shortName": "Derivative Instruments and Hedge Activities",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "24",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R25": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensation",
     "longName": "100280 - Disclosure - Share-Based Compensation",
     "shortName": "Share-Based Compensation",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "25",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R26": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShare",
     "longName": "100290 - Disclosure - Earnings per Share",
     "shortName": "Earnings per Share",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "26",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R27": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquity",
     "longName": "100300 - Disclosure - Stockholders' Equity",
     "shortName": "Stockholders' Equity",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "27",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R28": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLoss",
     "longName": "100310 - 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": "28",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R29": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationPolicies",
     "longName": "100320 - Disclosure - Basis of Presentation (Policies)",
     "shortName": "Basis of Presentation (Policies)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "policies",
     "menuCat": "Policies",
     "order": "29",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R30": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessTables",
     "longName": "100340 - Disclosure - Acquisition of a Business (Tables)",
     "shortName": "Acquisition of a Business (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "30",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R31": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesTables",
     "longName": "100350 - Disclosure - Securities (Tables)",
     "shortName": "Securities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "31",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R32": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables",
     "longName": "100360 - 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": "32",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R33": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsTables",
     "longName": "100370 - Disclosure - Servicing Assets (Tables)",
     "shortName": "Servicing Assets (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "33",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R34": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedTables",
     "longName": "100380 - Disclosure - Other Real Estate Owned (Tables)",
     "shortName": "Other Real Estate Owned (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "34",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R35": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesTables",
     "longName": "100390 - Disclosure - Leases (Tables)",
     "shortName": "Leases (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "35",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R36": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables",
     "longName": "100400 - 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": "36",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R37": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDepositsTables",
     "longName": "100410 - Disclosure - Deposits (Tables)",
     "shortName": "Deposits (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "37",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R38": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsTables",
     "longName": "100420 - Disclosure - Other Borrowings (Tables)",
     "shortName": "Other Borrowings (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "38",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R39": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesTables",
     "longName": "100430 - 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": "39",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R40": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesTables",
     "longName": "100440 - Disclosure - Commitments and Contingent Liabilities (Tables)",
     "shortName": "Commitments and Contingent Liabilities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "40",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R41": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "longName": "100450 - Disclosure - Fair Value Measurement (Tables)",
     "shortName": "Fair Value Measurement (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "41",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R42": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables",
     "longName": "100460 - Disclosure - Derivative Instruments and Hedge Activities (Tables)",
     "shortName": "Derivative Instruments and Hedge Activities (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "42",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R43": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
     "longName": "100470 - Disclosure - Share-Based Compensation (Tables)",
     "shortName": "Share-Based Compensation (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "43",
     "firstAnchor": {
      "contextRef": "C_fb8b7be5-bc1f-4f4a-8342-f42e8f8ee70b",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_fb8b7be5-bc1f-4f4a-8342-f42e8f8ee70b",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R44": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareTables",
     "longName": "100480 - Disclosure - Earnings per Share (Tables)",
     "shortName": "Earnings per Share (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "44",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R45": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityTables",
     "longName": "100490 - Disclosure - Stockholders' Equity (Tables)",
     "shortName": "Stockholders' Equity (Tables)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "tables",
     "menuCat": "Tables",
     "order": "45",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R46": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossTables",
     "longName": "100500 - 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": "46",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R47": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
     "longName": "100510 - Disclosure - Basis of Presentation - Additional Information (Details)",
     "shortName": "Basis of Presentation - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "47",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "U_Segment",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:NumberOfReportableSegments",
      "unitRef": "U_Segment",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R48": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
     "longName": "100520 - 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": "48",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:NoncashMergerRelatedCosts",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R49": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
     "longName": "100530 - 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": "49",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_93120180-d02e-46b2-80d2-4b7391f7b8b2",
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R50": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
     "longName": "100540 - Disclosure - Acquisition of a Business - Summary of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date (Parenthetical) (Details)",
     "shortName": "Acquisition of a Business - Summary of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "50",
     "firstAnchor": {
      "contextRef": "C_df8bbe2e-ef1d-46cc-8a72-bd71dc29312d",
      "name": "us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R51": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
     "longName": "100550 - 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": "51",
     "firstAnchor": {
      "contextRef": "C_93120180-d02e-46b2-80d2-4b7391f7b8b2",
      "name": "us-gaap:BusinessCombinationAcquiredReceivablesFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_93120180-d02e-46b2-80d2-4b7391f7b8b2",
      "name": "us-gaap:BusinessCombinationAcquiredReceivablesFairValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R52": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails",
     "longName": "100560 - 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": "52",
     "firstAnchor": {
      "contextRef": "C_c01157b8-3cf0-4edc-a863-c80378b36851",
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c01157b8-3cf0-4edc-a863-c80378b36851",
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R53": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
     "longName": "100570 - 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": "53",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R54": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
     "longName": "100580 - Disclosure - Securities - Summary of Amortized Cost and Fair Values of Securities Held-to-maturity (Details)",
     "shortName": "Securities - Summary of Amortized Cost and Fair Values of Securities Held-to-maturity (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "54",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:HeldToMaturitySecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryInvestmentHoldingsTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R55": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
     "longName": "100590 - Disclosure - Securities - Additional Information (Details)",
     "shortName": "Securities - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "55",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:TradingSecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:TradingSecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R56": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
     "longName": "100600 - 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": "56",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "unitRef": "U_Security",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "unitRef": "U_Security",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:UnrealizedGainLossOnInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R57": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
     "longName": "100620 - 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": "57",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R58": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
     "longName": "100630 - 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": "58",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R59": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
     "longName": "100640 - 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": "59",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R60": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
     "longName": "100650 - 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": "60",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:RiskRatingsForLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R61": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails",
     "longName": "100660 - 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": "61",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R62": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
     "longName": "100670 - 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": "62",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_41e8dc2b-f203-49e5-bcf6-1f5c3c1ef066",
      "name": "us-gaap:NotesReceivableGross",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R63": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
     "longName": "100680 - 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": "63",
     "firstAnchor": {
      "contextRef": "C_141dd207-11f3-4778-b435-76065021916a",
      "name": "by:UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_141dd207-11f3-4778-b435-76065021916a",
      "name": "by:UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R64": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa",
     "longName": "100690 - 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": "64",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParValueAtAcquisitionTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParValueAtAcquisitionTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R65": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
     "longName": "100710 - 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": "65",
     "firstAnchor": {
      "contextRef": "C_bbd6f1a6-a942-4e0d-80b5-a83fea9dacab",
      "name": "by:LoansAndLeasesReceivableUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_bbd6f1a6-a942-4e0d-80b5-a83fea9dacab",
      "name": "by:LoansAndLeasesReceivableUnpaidPrincipalBalance",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R66": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
     "longName": "100720 - 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": "66",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d9fc5727-2a26-4735-b5c6-54d687d1ff03",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R67": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa3",
     "longName": "100730 - 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) (Parenthetical) (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) (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "67",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FinancingReceivableRevolvingConvertedToTermLoan",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FinancingReceivableRevolvingConvertedToTermLoan",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R68": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
     "longName": "100740 - 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": "68",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_148a44a3-cb96-496f-ac9b-0e0ac4c4bb4b",
      "name": "us-gaap:FinancingReceivableOriginatedInCurrentFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R69": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
     "longName": "100750 - Disclosure - Loan and Lease Receivables and Allowance for Credit Losses - Summary of Contractual Delinquency Information (Parenthetical) (Details)",
     "shortName": "Loan and Lease Receivables and Allowance for Credit Losses - Summary of Contractual Delinquency Information (Parenthetical) (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "parenthetical",
     "menuCat": "Details",
     "order": "69",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R70": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
     "longName": "100760 - 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": "70",
     "firstAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "name": "us-gaap:LoansAndLeasesReceivableAllowanceCovered",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:AllowanceForCreditLossesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:ProvisionForLoanLeaseAndOtherLosses",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:AllowanceForCreditLossesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R71": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
     "longName": "100770 - 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": "71",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "by:ClassOfLoansReceivableToTotalFinancingReceivablePercent",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "by:ClassOfLoansReceivableToTotalFinancingReceivablePercent",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R72": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
     "longName": "100800 - 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": "72",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfCollateralDependentLoansAndLeasesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FinancingReceivableAllowanceForCreditLosses",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfCollateralDependentLoansAndLeasesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R73": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails",
     "longName": "100810 - 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": "73",
     "firstAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "name": "by:ReserveForUnfundedCommitments",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangeInBalanceForAllowanceForCreditLossesUnfundedCommitmentsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "name": "by:ReserveForUnfundedCommitments",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangeInBalanceForAllowanceForCreditLossesUnfundedCommitmentsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R74": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
     "longName": "100820 - 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": "74",
     "firstAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R75": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails",
     "longName": "100830 - 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": "75",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R76": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
     "longName": "100840 - Disclosure - Servicing Assets - Additional Information (Details)",
     "shortName": "Servicing Assets - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "76",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_af4567b6-f3e4-4957-a1a6-f0fd4b501cb9",
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-5",
      "ancestors": [
       "span",
       "p",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R77": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails",
     "longName": "100850 - 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": "77",
     "firstAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R78": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails",
     "longName": "100860 - 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": "78",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_c8af3152-3761-40cb-b634-26373e76f7b6",
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R79": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
     "longName": "100870 - Disclosure - Leases - Additional Information (Details)",
     "shortName": "Leases - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "79",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R80": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails",
     "longName": "100880 - 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": "80",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R81": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails",
     "longName": "100890 - 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": "81",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:OperatingLeaseCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:OperatingLeaseCost",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R82": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails",
     "longName": "100900 - 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": "82",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R83": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails",
     "longName": "100910 - 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": "83",
     "firstAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_23e887c0-000d-4f13-b51e-35c22e5151bf",
      "name": "us-gaap:IntangibleAssetsNetExcludingGoodwill",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R84": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails",
     "longName": "100920 - 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": "84",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R85": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
     "longName": "100930 - Disclosure - Income Taxes - Additional Information (Details)",
     "shortName": "Income Taxes - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "85",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "3",
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R86": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
     "longName": "100940 - Disclosure - Deposits - Composition of Deposits (Details)",
     "shortName": "Deposits - Composition of Deposits (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "86",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:NoninterestBearingDomesticDepositDemand",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R87": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails",
     "longName": "100950 - 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": "87",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R88": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails",
     "longName": "100960 - Disclosure - Deposits - Additional Information (Details)",
     "shortName": "Deposits - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "88",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:TimeDeposits",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:TimeDeposits",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R89": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
     "longName": "100970 - 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": "89",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R90": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
     "longName": "100980 - Disclosure - Other Borrowings - Additional Information (Details)",
     "shortName": "Other Borrowings - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "90",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "by:FederalReserveBankDiscountWindowBorrowing",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "by:FederalReserveBankDiscountWindowBorrowing",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R91": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
     "longName": "100990 - 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": "91",
     "firstAnchor": {
      "contextRef": "C_28884f34-ced8-46ee-a8d1-fa1c2cc839ad",
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_28884f34-ced8-46ee-a8d1-fa1c2cc839ad",
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R92": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
     "longName": "101000 - 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": "92",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_6917e1b9-8a72-40a6-ab69-926d577b53eb",
      "name": "us-gaap:DebtInstrumentInterestRateDuringPeriod",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "7",
      "ancestors": [
       "span",
       "p",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R93": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails",
     "longName": "101010 - 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": "93",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_90b7851e-2aa1-4ad4-b9a3-7c90ea44c722",
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R94": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
     "longName": "101020 - 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": "94",
     "firstAnchor": {
      "contextRef": "C_48ab7753-42f7-4551-883e-a08b1ba95a48",
      "name": "us-gaap:DebtInstrumentInterestRateDuringPeriod",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "7",
      "ancestors": [
       "span",
       "p",
       "link:footnote",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_48ab7753-42f7-4551-883e-a08b1ba95a48",
      "name": "us-gaap:DebtInstrumentInterestRateDuringPeriod",
      "unitRef": "U_pure",
      "xsiNil": "false",
      "lang": null,
      "decimals": "7",
      "ancestors": [
       "span",
       "p",
       "link:footnote",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R95": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
     "longName": "101030 - 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": "95",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R96": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
     "longName": "101040 - 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": "96",
     "firstAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:FixedRateLoanCommitmentsMaturitiesEndingYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f199ca89-0002-4a03-a021-aacc731f7ca5",
      "name": "by:FixedRateLoanCommitmentsMaturitiesEndingYear",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R97": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
     "longName": "101050 - 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": "97",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_92b7bb4e-89db-427a-8063-89193cfcfc80",
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R98": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
     "longName": "101060 - Disclosure - Fair Value Measurement - Additional Information (Details)",
     "shortName": "Fair Value Measurement - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "98",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "by:FairValueAssetsToOrFromLevelThreeTransfersAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "by:FairValueAssetsToOrFromLevelThreeTransfersAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R99": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
     "longName": "101070 - 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": "99",
     "firstAnchor": {
      "contextRef": "C_bb55b2c5-5fcc-452f-a914-7df501a0c674",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_bb55b2c5-5fcc-452f-a914-7df501a0c674",
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R100": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
     "longName": "101080 - 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": "100",
     "firstAnchor": {
      "contextRef": "C_17d1eb9f-0436-4846-a5e3-a15430c33eaf",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_17d1eb9f-0436-4846-a5e3-a15430c33eaf",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R101": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
     "longName": "101090 - 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": "101",
     "firstAnchor": {
      "contextRef": "C_f7386432-fdc2-49f7-b166-ccd33a4b1730",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_f7386432-fdc2-49f7-b166-ccd33a4b1730",
      "name": "us-gaap:AssetsFairValueDisclosure",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R102": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
     "longName": "101100 - 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": "102",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ccbb54d9-9590-45cd-bb06-3820971fc47e",
      "name": "us-gaap:CashAndDueFromBanks",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R103": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
     "longName": "101110 - 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": "103",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d3161221-02ca-42c4-b47c-4641ec4a869d",
      "name": "us-gaap:DerivativeFairValueOfDerivativeLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R104": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
     "longName": "101120 - 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": "104",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_e498a0e7-75f8-459a-95af-71ef1bae5957",
      "name": "us-gaap:GainLossOnContractTermination",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R105": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
     "longName": "101130 - 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": "105",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_bf89dcef-47df-40aa-8cdf-ae271e598ec3",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfCashFlowHedgesTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R106": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
     "longName": "101140 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations (Details)",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "106",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_8477b06f-0df8-4910-8c54-1c162de36e81",
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R107": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails",
     "longName": "101150 - 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": "107",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DerivativeNotionalAmount",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_d03c9740-b9f4-4bb1-9cf9-d0fc2c46d46f",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfOtherInterestRateDerivativesTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R108": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
     "longName": "101160 - 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": "108",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R109": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
     "longName": "101170 - 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": "109",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:DerivativeAssetFairValueGrossLiability",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R110": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
     "longName": "101180 - Disclosure - Share-Based Compensation - Additional Information (Details)",
     "shortName": "Share-Based Compensation - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "110",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false",
      "lang": null,
      "decimals": "2",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_adee1599-723c-4ab6-a73a-9ae5d86bf7f4",
      "name": "by:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestGrantsInPeriod",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R111": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
     "longName": "101190 - 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": "111",
     "firstAnchor": {
      "contextRef": "C_095cb97d-9c89-4279-a6df-eddde4099320",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": null
    },
    "R112": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
     "longName": "101200 - 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": "112",
     "firstAnchor": {
      "contextRef": "C_1815d822-6615-4056-a252-a3a67e4e285e",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_4c426a2f-17f3-4358-b149-7674e416210c",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R113": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
     "longName": "101210 - 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": "113",
     "firstAnchor": {
      "contextRef": "C_fb8b7be5-bc1f-4f4a-8342-f42e8f8ee70b",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_fb8b7be5-bc1f-4f4a-8342-f42e8f8ee70b",
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R114": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
     "longName": "101220 - 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": "114",
     "firstAnchor": {
      "contextRef": "C_ccf0fcf8-42a4-46ad-83ca-cc535b2af298",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ac06009f-d3f8-4bae-b814-e05bcac25be5",
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R115": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
     "longName": "101230 - Disclosure - Earnings per Share - Additional Information (Details)",
     "shortName": "Earnings per Share - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "115",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "INF",
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R116": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
     "longName": "101240 - 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": "116",
     "firstAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "name": "us-gaap:NetIncomeLoss",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_78e27548-0e12-4a94-ac49-494827399b71",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    },
    "R117": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
     "longName": "101250 - 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": "117",
     "firstAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_09b8fed8-6e77-426b-b876-e1c68bec1815",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R118": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
     "longName": "101260 - Disclosure - Stockholders' Equity - Additional Information (Details)",
     "shortName": "Stockholders' Equity - Additional Information (Details)",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "details",
     "menuCat": "Details",
     "order": "118",
     "firstAnchor": {
      "contextRef": "C_bb1ab677-bb76-41fc-9091-00f9b0c3b313",
      "name": "us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "C_bb1ab677-bb76-41fc-9091-00f9b0c3b313",
      "name": "us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "unitRef": "U_shares",
      "xsiNil": "false",
      "lang": null,
      "decimals": "0",
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true,
      "unique": true
     }
    },
    "R119": {
     "role": "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
     "longName": "101270 - 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": "119",
     "firstAnchor": {
      "contextRef": "C_acac3e1e-4854-432d-bb20-8025fe2dfbb7",
      "name": "us-gaap:StockholdersEquity",
      "unitRef": "U_USD",
      "xsiNil": "false",
      "lang": null,
      "decimals": "-3",
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "first": true
     },
     "uniqueAnchor": {
      "contextRef": "C_ec92f436-61c2-4dd0-8545-e5bdb28486c3",
      "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",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "by-20240630.htm",
      "unique": true
     }
    }
   },
   "tag": {
    "by_ATMAndInterchangeFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ATMAndInterchangeFees",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "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/2023",
     "localname": "AccountingPoliciesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccountingStandardsUpdateExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountingStandardsUpdateExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update [Extensible Enumeration]",
        "documentation": "Indicates amendment to accounting standards."
       }
      }
     },
     "auth_ref": [
      "r286",
      "r287",
      "r288",
      "r289",
      "r290",
      "r349",
      "r350",
      "r351",
      "r416",
      "r417",
      "r454",
      "r455",
      "r456",
      "r457",
      "r460",
      "r461",
      "r462",
      "r463",
      "r464",
      "r503",
      "r604",
      "r605",
      "r606",
      "r616",
      "r617",
      "r633",
      "r634",
      "r635",
      "r650",
      "r651",
      "r652",
      "r663",
      "r664",
      "r665",
      "r666",
      "r667",
      "r668",
      "r669",
      "r671",
      "r672",
      "r673",
      "r674",
      "r675",
      "r690",
      "r691",
      "r696",
      "r697",
      "r698",
      "r699",
      "r710",
      "r711",
      "r715",
      "r716",
      "r717",
      "r736",
      "r737",
      "r738",
      "r739",
      "r740",
      "r838",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r846",
      "r847",
      "r848",
      "r849",
      "r1141"
     ]
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedLabel": "Net amortization (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": [
      "r197"
     ]
    },
    "us-gaap_AccretionExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccretionExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1064",
      "r1184"
     ]
    },
    "by_AccretionOfPremiumsAndDiscountsOnAcquiredLoansNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AccretionOfPremiumsAndDiscountsOnAcquiredLoansNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "AccruedInterestPayableAndOtherLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "AccruedInterestPayableAndOtherLiabilitiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "AccruedInterestReceivableAndOtherAssetsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_AccruedLiabilitiesFairValueDisclosure": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccruedLiabilitiesFairValueDisclosure",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r51"
     ]
    },
    "by_AccruingLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AccruingLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accruing",
        "label": "Accruing Loans [Member]",
        "documentation": "Accruing loans."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedGainLossNetCashFlowHedgeParentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member]",
        "terseLabel": "Unrealized Gains 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": [
      "r314",
      "r322",
      "r323",
      "r639",
      "r1047",
      "r1129"
     ]
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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]",
        "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": [
      "r309",
      "r310",
      "r311",
      "r314",
      "r322",
      "r323",
      "r1129"
     ]
    },
    "by_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r321",
      "r322",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total",
        "terseLabel": "Accumulated other comprehensive income (loss), net of tax",
        "label": "Accumulated Other Comprehensive Income (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": [
      "r60",
      "r61",
      "r187",
      "r303",
      "r818",
      "r845",
      "r849"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/2023",
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r321",
      "r322",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708"
     ]
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)",
        "label": "AOCI Attributable to Parent [Member]",
        "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": [
      "r4",
      "r24",
      "r61",
      "r654",
      "r657",
      "r740",
      "r840",
      "r841",
      "r1129",
      "r1130",
      "r1131",
      "r1138",
      "r1139",
      "r1140"
     ]
    },
    "by_AcquiredImpairedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AcquiredImpairedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Acquired Impaired",
        "terseLabel": "Acquired Impaired Loans",
        "label": "Acquired Impaired Loans [Member]",
        "documentation": "Acquired impaired loans."
       }
      }
     },
     "auth_ref": []
    },
    "by_AcquiredNonCreditDeterioratedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AcquiredNonCreditDeterioratedMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "AcquiredNonImpairedAndOriginatedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/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_AcquiredNonImpairedLoansAndLeasesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AcquiredNonImpairedLoansAndLeasesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Acquired Non-Impaired Loans and Leases",
        "label": "Acquired Non Impaired Loans And Leases [Member]",
        "documentation": "Acquired non-impaired loans and leases."
       }
      }
     },
     "auth_ref": []
    },
    "by_AcquiredNonImpairedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AcquiredNonImpairedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_AdditionalPaidInCapital": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdditionalPaidInCapital",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r180",
      "r1081",
      "r1259"
     ]
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdditionalPaidInCapitalMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r604",
      "r605",
      "r606",
      "r857",
      "r1138",
      "r1139",
      "r1140",
      "r1228",
      "r1261"
     ]
    },
    "us-gaap_AdjustableRateLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustableRateLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustable Rate Loans [Member]",
        "terseLabel": "Adjustable Rate Loans",
        "documentation": "Loan where the rate is adjusted, moving higher or lower according to changes in a specified reference rate."
       }
      }
     },
     "auth_ref": [
      "r201",
      "r202"
     ]
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r116",
      "r117",
      "r569"
     ]
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustments to reconcile net income to net cash from operating activities:",
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AdvancesFromFederalHomeLoanBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AdvancesFromFederalHomeLoanBanks",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r249"
     ]
    },
    "by_AgencyCommercialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AgencyCommercialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "AgencyResidentialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AgencySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Agency",
        "label": "Agency Securities [Member]",
        "documentation": "Securities issued by government sponsored entities."
       }
      }
     },
     "auth_ref": [
      "r1158",
      "r1165"
     ]
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AllocatedShareBasedCompensationExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r599",
      "r607"
     ]
    },
    "by_AllocatedShareBasedCompensationExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AllocatedShareBasedCompensationExpenseBenefit",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "AllowanceForCreditLossesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for credit losses.",
        "label": "Allowance for Credit Losses [Table Text Block]",
        "terseLabel": "Allowance for Credit Losses"
       }
      }
     },
     "auth_ref": []
    },
    "by_AllowanceForLoanAndLeaseLossDecreaseInLoansOutstanding": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AllowanceForLoanAndLeaseLossDecreaseInLoansOutstanding",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for loan and lease loss decrease in loans outstanding.",
        "label": "Allowance for Loan and Lease Loss Decrease in Loans Outstanding",
        "terseLabel": "Allowance for loan and lease loss decrease in loans outstanding"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AllowanceForLoanAndLeaseLossRecoveryOfBadDebts",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Recoveries",
        "label": "Allowance for Loan and Lease Loss, Recovery of Bad Debts",
        "verboseLabel": "Net recoveries on PCD loans",
        "documentation": "Amount of recovery of loans and lease receivables which had previously been fully or partially written-off as bad debts."
       }
      }
     },
     "auth_ref": [
      "r20"
     ]
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AllowanceForLoanAndLeaseLossesWriteOffs",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Charge-offs",
        "label": "Allowance for Loan and Lease Losses, Writeoff",
        "documentation": "Amount of loans and leases that have been written off from both loan receivables and allowance reserve for credit loss."
       }
      }
     },
     "auth_ref": [
      "r19"
     ]
    },
    "by_AmendedCreditAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AmendedCreditAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "AmerimarkCapitalTrustOneMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AmortizationOfAcquisitionCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r9",
      "r93"
     ]
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationOfFinancingCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r190",
      "r535",
      "r713",
      "r1133"
     ]
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AmortizationOfIntangibleAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails",
      "http://www.bylinebank.com/20240630/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. 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": [
      "r9",
      "r93",
      "r97"
     ]
    },
    "by_AmountOfGainLossRecognizedInOtherNonInterestIncomeIneffectivePortion": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AmountOfGainLossRecognizedInOtherNonInterestIncomeIneffectivePortion",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r377"
     ]
    },
    "by_AssessmentOfModifiedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AssessmentOfModifiedLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AssetBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1072",
      "r1160",
      "r1166",
      "r1167"
     ]
    },
    "us-gaap_AssetImpairmentCharges": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetImpairmentCharges",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r9",
      "r98"
     ]
    },
    "us-gaap_Assets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Assets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets",
        "label": "Assets",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events."
       }
      }
     },
     "auth_ref": [
      "r225",
      "r297",
      "r338",
      "r385",
      "r392",
      "r396",
      "r453",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r637",
      "r640",
      "r694",
      "r814",
      "r903",
      "r1081",
      "r1098",
      "r1188",
      "r1189",
      "r1237"
     ]
    },
    "us-gaap_AssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AssetsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AssetsFairValueDisclosure",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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 probable future economic benefits obtained or controlled by an entity as a result of past transactions or events."
       }
      }
     },
     "auth_ref": [
      "r152"
     ]
    },
    "by_AvailableFederalFundsLineMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "AvailableFederalFundsLineMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r425"
     ]
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r426"
     ]
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Available-for-sale Securities, Amortized Cost",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost",
        "terseLabel": "Securities available-for-sale, 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)."
       }
      }
     },
     "auth_ref": [
      "r422",
      "r487",
      "r813"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1163"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r431",
      "r810"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1162"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r430",
      "r809"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1164"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r432",
      "r811"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1161"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r429",
      "r808"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1159",
      "r1160"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r428",
      "r807",
      "r1159"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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",
        "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": [
      "r423",
      "r487",
      "r800",
      "r1156"
     ]
    },
    "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/2023",
     "localname": "AvailableforsaleSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r259"
     ]
    },
    "us-gaap_AwardTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "AwardTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Type",
        "label": "Award Type [Axis]",
        "documentation": "Information by type of award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598"
     ]
    },
    "by_BYBPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BYBPlanMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BalanceSheetLocationAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Balance Sheet Location",
        "label": "Balance Sheet Location [Axis]",
        "documentation": "Information by location on balance sheet (statement of financial position)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BalanceSheetLocationDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Balance Sheet Location",
        "label": "Balance Sheet Location [Domain]",
        "documentation": "Location in the balance sheet (statement of financial position)."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r138"
     ]
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BankOwnedLifeInsurance",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1248"
     ]
    },
    "us-gaap_BankServicingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BankServicingMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1196"
     ]
    },
    "by_BankTermFundingProgram": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BankTermFundingProgram",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank term funding program.",
        "label": "Bank Term Funding Program",
        "terseLabel": "Bank Term Funding Program"
       }
      }
     },
     "auth_ref": []
    },
    "by_BankTermFundingProgramMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BankTermFundingProgramMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_BorrowingsUnderGuaranteedInvestmentAgreements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BorrowingsUnderGuaranteedInvestmentAgreements",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1254"
     ]
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionAcquireeDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business Acquisition, Acquiree",
        "label": "Business Acquisition, Acquiree [Domain]",
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree."
       }
      }
     },
     "auth_ref": [
      "r631",
      "r1075",
      "r1076"
     ]
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business Acquisition",
        "label": "Business Acquisition [Axis]",
        "documentation": "Information by business combination or series of individually immaterial business combinations."
       }
      }
     },
     "auth_ref": [
      "r121",
      "r122",
      "r631",
      "r1075",
      "r1076"
     ]
    },
    "by_BusinessAcquisitionCashPaymentPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessAcquisitionCashPaymentPerShare",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_BusinessAcquisitionDateOfAcquisitionAgreement1": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionDateOfAcquisitionAgreement1",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Date of Acquisition Agreement",
        "terseLabel": "Business acquisition date of agreement",
        "documentation": "Date when the business acquisition agreement was executed, in YYYY-MM-DD format."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Value Assigned",
        "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": [
      "r218"
     ]
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Stock issued (in shares)",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares",
        "terseLabel": "Issuance of common shares",
        "documentation": "Number of shares of equity interests issued or issuable to acquire entity."
       }
      }
     },
     "auth_ref": [
      "r218"
     ]
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Business Acquisition [Line Items]",
        "label": "Business Acquisition [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": [
      "r631"
     ]
    },
    "by_BusinessAcquisitionOptionToAcquireCommonStockShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessAcquisitionOptionToAcquireCommonStockShares",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "BusinessAcquisitionOptionToAcquireCommonStockValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessAcquisitionProFormaEarningsPerShareBasic",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings per share - basic",
        "label": "Business Acquisition, Pro Forma Earnings Per Share, Basic",
        "documentation": "The pro forma basic net income per share for a period as if the business combination or combinations had been completed at the beginning of a period."
       }
      }
     },
     "auth_ref": [
      "r1110",
      "r1111"
     ]
    },
    "us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionProFormaEarningsPerShareDiluted",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Earnings per share - diluted",
        "label": "Business Acquisition, Pro Forma Earnings Per Share, Diluted",
        "documentation": "The pro forma diluted net income per share for a period as if the business combination or combinations had been completed at the beginning of a period."
       }
      }
     },
     "auth_ref": [
      "r1110",
      "r1111"
     ]
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Pro Forma Information for Results of Operations",
        "label": "Business Acquisition, Pro Forma Information [Table Text Block]",
        "documentation": "Tabular disclosure of pro forma results of operations for a material business acquisition or series of individually immaterial business acquisitions that are material in the aggregate."
       }
      }
     },
     "auth_ref": [
      "r1110",
      "r1111"
     ]
    },
    "us-gaap_BusinessAcquisitionSharePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionSharePrice",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Stock issued (in dollars per share)",
        "label": "Business Acquisition, Share Price",
        "terseLabel": "Common stock issued price per share",
        "documentation": "Price of a single share of a number of saleable stocks paid or offered to be paid in a business combination."
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessAcquisitionTransactionClosingDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessAcquisitionTransactionClosingDate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessAcquisitionsProFormaNetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net income",
        "label": "Business Acquisition, Pro Forma Net Income (Loss)",
        "documentation": "The pro forma net Income or Loss for the period as if the business combination or combinations had been completed at the beginning of a period."
       }
      }
     },
     "auth_ref": [
      "r628",
      "r629"
     ]
    },
    "us-gaap_BusinessAcquisitionsProFormaRevenue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessAcquisitionsProFormaRevenue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total revenues (net interest income and non-interest income)",
        "label": "Business Acquisition, Pro Forma Revenue",
        "documentation": "The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period."
       }
      }
     },
     "auth_ref": [
      "r628",
      "r629"
     ]
    },
    "by_BusinessAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessAssetsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "BusinessCombinationAcquiredReceivablesEstimatedCollectible",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessCombinationAcquiredReceivablesEstimatedUncollectible",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Estimate of contractual cash flows not expected to be collected",
        "label": "Business Combination, Acquired Receivables, Estimated Uncollectible",
        "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 not 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": [
      "r125"
     ]
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationAcquiredReceivablesFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair value",
        "label": "Business Combination, Acquired Receivable, Fair Value",
        "documentation": "Fair value of acquired receivable from business combination, excluding certain loans and debt securities acquired in transfer."
       }
      }
     },
     "auth_ref": [
      "r630"
     ]
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationAcquiredReceivablesGrossContractualAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gross contractual amounts receivable",
        "label": "Business Combination, Acquired Receivables, Gross Contractual Amount",
        "documentation": "For receivables acquired in a business combination, excluding certain loans and debt securities acquired in a transfer (as defined), this element represents the gross contractual amounts receivable, by major class of receivable, such as loans, direct finance leases (as defined), and any other class of receivables."
       }
      }
     },
     "auth_ref": [
      "r124"
     ]
    },
    "us-gaap_BusinessCombinationAcquisitionRelatedCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationAcquisitionRelatedCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Acquisition advisory expenses",
        "label": "Business Combination, Acquisition Related Costs",
        "documentation": "This element represents acquisition-related costs incurred to effect a business combination which costs have been expensed during the period. Such costs include finder's fees; advisory, legal, accounting, valuation, and other professional or consulting fees; general administrative costs, including the costs of maintaining an internal acquisitions department; and may include costs of registering and issuing debt and equity securities."
       }
      }
     },
     "auth_ref": [
      "r120"
     ]
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationConsiderationTransferred1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1",
      "r2",
      "r15"
     ]
    },
    "us-gaap_BusinessCombinationConsiderationTransferredAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationConsiderationTransferredAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Common stock (5,932,323 shares issued at $18.09 per share)",
        "label": "Business Combination, Consideration Transferred, Equity Interests Issued and Issuable",
        "documentation": "Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination."
       }
      }
     },
     "auth_ref": [
      "r1",
      "r2"
     ]
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusiness"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination Disclosure [Text Block]",
        "terseLabel": "Acquisition of a Business",
        "documentation": "The entire disclosure for a business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities. The disclosure may include leverage buyout transactions (as applicable)."
       }
      }
     },
     "auth_ref": [
      "r216",
      "r632"
     ]
    },
    "us-gaap_BusinessCombinationIntegrationRelatedCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationIntegrationRelatedCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Core system conversion expenses",
        "label": "Business Combination, Integration Related Costs",
        "documentation": "Costs incurred to effect a business combination which have been expensed during the period. Such costs could include business integration costs, systems integration and conversion costs, and severance and other employee-related costs."
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAllowanceForCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAllowanceForCreditLosses",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Allowance for credit losses",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Allowance for Credit Losses",
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed allowance for credit losses."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total assets acquired",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets",
        "documentation": "Amount of assets acquired at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Assets",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedBankOwnedLifeInsurance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedBankOwnedLifeInsurance",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash and cash equivalents",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents",
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, acquired at the acquisition date. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities available-for-sale",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Marketable Securities",
        "documentation": "Amount of investments in debt and equity securities, including, but not limited to, held-to-maturity, trading and available-for-sale expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
        "documentation": "Amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties expected to be converted to cash, sold or exchanged within one year or the normal operating cycle, if longer, acquired at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsRestrictedStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsRestrictedStock",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed current assets restricted stock.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Current Assets Restricted Stock",
        "terseLabel": "Restricted stock"
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeposits",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax assets, net",
        "label": "Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Assets",
        "documentation": "Amount of deferred tax asset attributable to deductible temporary differences and carryforwards acquired at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other intangible assets",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill, Total",
        "documentation": "Amount of intangible assets, excluding goodwill, acquired at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities assumed",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities",
        "documentation": "Amount of liabilities assumed at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Liabilities",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesFederalHomeLoanBankAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesFederalHomeLoanBankAdvances",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesOperatingLeaseLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesSecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net assets acquired",
        "terseLabel": "Net assets acquired",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net",
        "documentation": "Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126"
     ]
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesAccruedExpensesAndOtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesAccruedExpensesAndOtherLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Junior subordinated debentures",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Long-Term Debt",
        "documentation": "Amount of long-term debt due after one year or the normal operating cycle, if longer, assumed at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating lease right-of-use asset",
        "label": "Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed Operating Lease Right of Use Asset",
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed operating lease right of use asset."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other assets",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets",
        "documentation": "Amount of other assets expected to be realized or consumed after one year or the normal operating cycle, if longer, acquired at the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r126"
     ]
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Premises and equipment",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment, Total",
        "documentation": "The amount of property, plant, and equipment recognized as of the acquisition date."
       }
      }
     },
     "auth_ref": [
      "r123",
      "r126"
     ]
    },
    "by_BusinessCombinationRightToReceiveCommonStockUponConversion": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "BusinessCombinationRightToReceiveCommonStockUponConversion",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "BusinessCombinationsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "BusinessDescriptionAndBasisOfPresentationTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r174",
      "r198",
      "r199"
     ]
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeases1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeases1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesDeferredIncome1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesInitialDirectCosts1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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",
        "terseLabel": "Initial direct costs",
        "verboseLabel": "Initial direct costs"
       }
      }
     },
     "auth_ref": []
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesUnguaranteedResidualValuesOfLeasedProperty1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r155",
      "r156"
     ]
    },
    "by_CarryingValueOfPurchasedCreditDeteriorationLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CarryingValueOfPurchasedCreditDeteriorationLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/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_CashAndCashEquivalentsAtCarryingValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Cash and cash equivalents",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "periodStartLabel": "Cash and Cash Equivalents, at Carrying Value, Beginning Balance",
        "periodEndLabel": "Cash and Cash Equivalents, at Carrying Value, Ending Balance",
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation."
       }
      }
     },
     "auth_ref": [
      "r71",
      "r294",
      "r1043"
     ]
    },
    "us-gaap_CashAndDueFromBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashAndDueFromBanks",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r224"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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 Equivalents, Restricted Cash, and Restricted Cash Equivalents",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total",
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r71",
      "r195",
      "r336"
     ]
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "NET CHANGE IN CASH AND CASH EQUIVALENTS",
        "label": "Cash, Cash Equivalents, Restricted Cash, and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates."
       }
      }
     },
     "auth_ref": [
      "r3",
      "r195"
     ]
    },
    "us-gaap_CashFlowHedgingMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashFlowHedgingMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r131"
     ]
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "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": [
      "r86",
      "r88"
     ]
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r86",
      "r88"
     ]
    },
    "by_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsNotExpectedToBeCollectedAtAcquisition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsNotExpectedToBeCollectedAtAcquisition",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r86",
      "r88"
     ]
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield",
        "documentation": "Amount of the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities with evidence of deterioration of credit quality."
       }
      }
     },
     "auth_ref": [
      "r86",
      "r87"
     ]
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Accretion to interest income",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Accretion",
        "documentation": "Amount of accretion recognized for the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities, with evidence of deterioration of credit quality."
       }
      }
     },
     "auth_ref": [
      "r86",
      "r87"
     ]
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsToFromNonaccretableDifference": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsToFromNonaccretableDifference",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reclassification from nonaccretable difference, net",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Reclassifications (to) from Nonaccretable Difference",
        "totalLabel": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Reclassifications (to) from Nonaccretable Difference, Total",
        "documentation": "Amount of reclassification (to) from nonaccretable difference (from) to the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities with evidence of deterioration of credit quality."
       }
      }
     },
     "auth_ref": [
      "r86",
      "r87"
     ]
    },
    "dei_CityAreaCode": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CityAreaCode",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ClassOfLoansReceivableToTotalFinancingReceivablePercent",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of loans receivable to total financing receivable percent.",
        "label": "Class of Loans Receivable to Total Financing Receivable Percent",
        "terseLabel": "% of Class of Loans and Leases"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ClassOfStockDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfStockDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r273",
      "r299",
      "r300",
      "r301",
      "r338",
      "r367",
      "r371",
      "r374",
      "r376",
      "r383",
      "r384",
      "r453",
      "r511",
      "r513",
      "r514",
      "r515",
      "r518",
      "r519",
      "r540",
      "r541",
      "r544",
      "r547",
      "r554",
      "r694",
      "r851",
      "r852",
      "r853",
      "r854",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r890",
      "r912",
      "r931",
      "r1019",
      "r1020",
      "r1021",
      "r1022",
      "r1023",
      "r1107",
      "r1134",
      "r1143"
     ]
    },
    "us-gaap_ClassOfStockLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ClassOfStockLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r299",
      "r300",
      "r301",
      "r383",
      "r540",
      "r541",
      "r542",
      "r544",
      "r547",
      "r552",
      "r554",
      "r851",
      "r852",
      "r853",
      "r854",
      "r1070",
      "r1107",
      "r1134"
     ]
    },
    "us-gaap_CollateralAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CollateralAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1057"
     ]
    },
    "us-gaap_CollateralDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CollateralDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Collateral Held [Domain]",
        "terseLabel": "Collateral Held",
        "documentation": "Category of collateral or no collateral, from lender's perspective."
       }
      }
     },
     "auth_ref": []
    },
    "by_CollectivelyEvaluatedForImpairmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CollectivelyEvaluatedForImpairmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CombinationTermModificationAndInterestRateReductionMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Combination term modification and interest rate reduction.",
        "label": "Combination Term Modification and Interest Rate Reduction [Member]",
        "terseLabel": "Combination Term Modification and Interest Rate Reduction"
       }
      }
     },
     "auth_ref": []
    },
    "by_CommercialAndIndustrialPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CommercialAndIndustrialPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CommercialConstructionMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CommercialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1160",
      "r1166",
      "r1167",
      "r1197"
     ]
    },
    "us-gaap_CommercialRealEstatePortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommercialRealEstatePortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_CommitmentsAndContingencies": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommitmentsAndContingencies",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r55",
      "r166",
      "r815",
      "r889"
     ]
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/2023",
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r208",
      "r505",
      "r506",
      "r1029",
      "r1185"
     ]
    },
    "by_CommitmentsAndContingenciesLiabilitiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CommitmentsAndContingenciesLiabilitiesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CommitmentsAndContingenciesLiabilitiesTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "CommitmentsOutstandingOnModifiedLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CommitmentsToExtendCreditMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r56"
     ]
    },
    "by_CommonStockDividendDeclaredButNotPaid": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CommonStockDividendDeclaredButNotPaid",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CommonStockDividendsPerShareCashPaid",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r212"
     ]
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockDividendsPerShareDeclared",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r212"
     ]
    },
    "us-gaap_CommonStockDividendsShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockDividendsShares",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r26"
     ]
    },
    "us-gaap_CommonStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1084",
      "r1085",
      "r1086",
      "r1088",
      "r1089",
      "r1090",
      "r1093",
      "r1138",
      "r1139",
      "r1228",
      "r1257",
      "r1261"
     ]
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r179"
     ]
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesAuthorized",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r179",
      "r890"
     ]
    },
    "us-gaap_CommonStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesIssued",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r179"
     ]
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockSharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r26",
      "r179",
      "r890",
      "r909",
      "r1261",
      "r1262"
     ]
    },
    "us-gaap_CommonStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CommonStockValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r179",
      "r817",
      "r1081"
     ]
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ComprehensiveIncomeNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r62",
      "r318",
      "r320",
      "r326",
      "r802",
      "r826"
     ]
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r186",
      "r325",
      "r801",
      "r824"
     ]
    },
    "by_ConstructionLandDevelopmentAndOtherLandPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ConstructionLandDevelopmentAndOtherLandPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_ConversionCalculationPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ConversionCalculationPercentage",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CoreDepositsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r170"
     ]
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CorporateDebtSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1072",
      "r1074",
      "r1256"
     ]
    },
    "by_CorrespondentBankMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CorrespondentBankMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "by_CreditAgreementMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "CreditAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CreditDerivativesByContractTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r145"
     ]
    },
    "us-gaap_CreditDerivativesContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditDerivativesContractTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r145"
     ]
    },
    "us-gaap_CreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditFacilityAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Credit Facility",
        "label": "Credit Facility [Axis]",
        "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": []
    },
    "us-gaap_CreditFacilityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditFacilityDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_CreditLossStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditLossStatusAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Loss Status [Axis]",
        "documentation": "Information by credit loss status of financial asset."
       }
      }
     },
     "auth_ref": [
      "r1154",
      "r1175",
      "r1180"
     ]
    },
    "us-gaap_CreditLossStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "CreditLossStatusDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Credit Loss Status [Domain]",
        "documentation": "Credit loss status of financial asset."
       }
      }
     },
     "auth_ref": []
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption, Adjustment [Member]",
        "terseLabel": "Cumulative-effect adjustment (ASU 2016-13)"
       }
      }
     },
     "auth_ref": [
      "r288",
      "r346",
      "r355",
      "r361",
      "r457",
      "r465",
      "r604",
      "r605",
      "r606",
      "r616",
      "r617",
      "r653",
      "r654",
      "r655",
      "r657",
      "r659",
      "r660",
      "r666",
      "r669",
      "r672",
      "r673",
      "r738"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Axis]"
       }
      }
     },
     "auth_ref": [
      "r288",
      "r346",
      "r355",
      "r361",
      "r457",
      "r465",
      "r604",
      "r605",
      "r606",
      "r616",
      "r617",
      "r653",
      "r654",
      "r655",
      "r657",
      "r659",
      "r660",
      "r666",
      "r669",
      "r672",
      "r673",
      "r738"
     ]
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cumulative Effect, Period of Adoption [Domain]"
       }
      }
     },
     "auth_ref": [
      "r288",
      "r346",
      "r355",
      "r361",
      "r457",
      "r465",
      "r604",
      "r605",
      "r606",
      "r616",
      "r617",
      "r653",
      "r654",
      "r655",
      "r657",
      "r659",
      "r660",
      "r666",
      "r669",
      "r672",
      "r673",
      "r738"
     ]
    },
    "dei_CurrentFiscalYearEndDate": {
     "xbrltype": "gMonthDayItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "CurrentFiscalYearEndDate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "CustomerRelationshipsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r127"
     ]
    },
    "us-gaap_DebtDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_DebtInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r47",
      "r176",
      "r177",
      "r226",
      "r227",
      "r342",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r714",
      "r1065",
      "r1066",
      "r1067",
      "r1068",
      "r1069",
      "r1135"
     ]
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DebtInstrumentCarryingAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r47",
      "r227",
      "r537"
     ]
    },
    "us-gaap_DebtInstrumentDescriptionOfVariableRateBasis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentDescriptionOfVariableRateBasis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DebtInstrumentFaceAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r158",
      "r160",
      "r520",
      "r714",
      "r1066",
      "r1067"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentInterestRateDuringPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Adjustment spread Interest rate",
        "label": "Debt Instrument, Interest Rate During Period",
        "documentation": "The average effective interest rate during the reporting period."
       }
      }
     },
     "auth_ref": [
      "r53",
      "r158",
      "r532"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r53",
      "r158",
      "r538",
      "r714"
     ]
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r53",
      "r521"
     ]
    },
    "us-gaap_DebtInstrumentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r342",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r714",
      "r1065",
      "r1066",
      "r1067",
      "r1068",
      "r1069",
      "r1135"
     ]
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentMaturityDate",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r271",
      "r1065",
      "r1230"
     ]
    },
    "us-gaap_DebtInstrumentMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentMeasurementInput",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r684"
     ]
    },
    "us-gaap_DebtInstrumentMeasurementInputExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentMeasurementInputExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r683",
      "r695"
     ]
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r54",
      "r342",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r714",
      "r1065",
      "r1066",
      "r1067",
      "r1068",
      "r1069",
      "r1135"
     ]
    },
    "us-gaap_DebtInstrumentRedemptionDescription": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentRedemptionDescription",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r38"
     ]
    },
    "us-gaap_DebtInstrumentTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Debt Instrument [Table]",
        "label": "Schedule of Long-Term Debt Instruments [Table]",
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer."
       }
      }
     },
     "auth_ref": [
      "r54",
      "r106",
      "r110",
      "r157",
      "r158",
      "r160",
      "r171",
      "r210",
      "r211",
      "r342",
      "r520",
      "r521",
      "r522",
      "r523",
      "r524",
      "r525",
      "r526",
      "r527",
      "r528",
      "r529",
      "r530",
      "r531",
      "r532",
      "r533",
      "r534",
      "r535",
      "r536",
      "r714",
      "r1065",
      "r1066",
      "r1067",
      "r1068",
      "r1069",
      "r1135"
     ]
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentUnamortizedDiscount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r157",
      "r160",
      "r1191"
     ]
    },
    "us-gaap_DebtInstrumentValuationTechniqueExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtInstrumentValuationTechniqueExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r683",
      "r695"
     ]
    },
    "by_DebtIssuanceCostsAmortizationPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "DebtIssuanceCostsAmortizationPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_DebtSecuritiesAvailableForSaleAndHeldToMaturity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleAndHeldToMaturity",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Debt Securities, Available-for-Sale and Held-to-Maturity, after Allowance for Credit Loss, Total",
        "label": "Debt Securities, Available-for-Sale and Held-to-Maturity, after Allowance for Credit Loss",
        "terseLabel": "Securities available-for-sale and held-to-maturity",
        "documentation": "Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale)."
       }
      }
     },
     "auth_ref": [
      "r800",
      "r1155"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r258",
      "r492",
      "r1062"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r258",
      "r492"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r258",
      "r492",
      "r1062"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r258",
      "r492"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleRealizedGain",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "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": [
      "r451"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleRealizedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "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": [
      "r451"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r255",
      "r489",
      "r1062"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r256",
      "r490"
     ]
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r257",
      "r491"
     ]
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredFinanceCostsNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r159",
      "r1191"
     ]
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredIncomeTaxAssetsNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax assets, net",
        "label": "Deferred Income Tax Assets, Net",
        "totalLabel": "Deferred Income Tax Assets, Net, Total",
        "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": [
      "r609",
      "r610"
     ]
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax Expense (Benefit)",
        "totalLabel": "Deferred Income Tax Expense (Benefit), Total",
        "terseLabel": "Deferred tax benefit",
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations."
       }
      }
     },
     "auth_ref": [
      "r9",
      "r215",
      "r267",
      "r623",
      "r624",
      "r1137"
     ]
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DeferredTaxAssetsNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Deferred tax assets, net",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "totalLabel": "Deferred Tax Assets, Net of Valuation Allowance, Total",
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards."
       }
      }
     },
     "auth_ref": [
      "r1224"
     ]
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r14",
      "r163",
      "r284",
      "r285"
     ]
    },
    "us-gaap_DepositLiabilitiesReclassifiedAsLoansReceivable1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositLiabilitiesReclassifiedAsLoansReceivable1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r16"
     ]
    },
    "us-gaap_Deposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Deposits",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r163"
     ]
    },
    "us-gaap_DepositsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DepositsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_DepositsAndOtherBorrowingsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "DepositsAndOtherBorrowingsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DepreciationAmortizationAndAccretionNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r9"
     ]
    },
    "us-gaap_DerivativeAssetFairValueGrossLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetFairValueGrossLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r35",
      "r46",
      "r136",
      "r990",
      "r991"
     ]
    },
    "us-gaap_DerivativeAssetFairValueNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetFairValueNetAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net credit exposure",
        "label": "Derivative Asset, Fair Value, Offset Against Collateral, Net of Not Subject to Master Netting Arrangement, Policy Election",
        "documentation": "Fair value, after effects of master netting arrangements, deduction of assets not subject to a master netting arrangement and elected not to be offset, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, offset against an obligation to return collateral."
       }
      }
     },
     "auth_ref": [
      "r37",
      "r45"
     ]
    },
    "us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangementDeduction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetNotSubjectToMasterNettingArrangementDeduction",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Offsetting derivative positions",
        "label": "Derivative Asset, Not Subject to Master Netting Arrangement Deduction",
        "documentation": "Fair value of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset, not subject to a master netting arrangement, deducted from derivative assets."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r45"
     ]
    },
    "us-gaap_DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetStatementOfFinancialPositionExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r642"
     ]
    },
    "us-gaap_DerivativeAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r306",
      "r307",
      "r693",
      "r869",
      "r870",
      "r871",
      "r873",
      "r874",
      "r875",
      "r876",
      "r877",
      "r879",
      "r880",
      "r896",
      "r897",
      "r985",
      "r988",
      "r989",
      "r990",
      "r992",
      "r993",
      "r1046",
      "r1086",
      "r1258"
     ]
    },
    "us-gaap_DerivativeAssetsLiabilitiesAtFairValueNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAssetsLiabilitiesAtFairValueNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r10"
     ]
    },
    "us-gaap_DerivativeAverageRemainingMaturity1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeAverageRemainingMaturity1",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/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_DerivativeContractTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeContractTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r877",
      "r880",
      "r895",
      "r896",
      "r897",
      "r899",
      "r900",
      "r901",
      "r902",
      "r904",
      "r905",
      "r906",
      "r907",
      "r919",
      "r920",
      "r921",
      "r922",
      "r925",
      "r926",
      "r927",
      "r928",
      "r985",
      "r986",
      "r989",
      "r992",
      "r1084",
      "r1086"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r41",
      "r136",
      "r185",
      "r305",
      "r1046"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collateral posted",
        "label": "Derivative Asset, Including Not Subject to Master Netting Arrangement, after Offset and Deduction",
        "totalLabel": "Derivative Asset, Fair Value, Amount Offset Against Collateral, Total",
        "negatedLabel": "Collateral posted",
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and contract can be net settled by means outside contract or delivery of asset. Includes derivative not subject to master netting arrangement or similar agreement."
       }
      }
     },
     "auth_ref": [
      "r45",
      "r148"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r41",
      "r136",
      "r185",
      "r305",
      "r1046"
     ]
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Collateral posted",
        "label": "Derivative Liability, Including Not Subject to Master Netting Arrangement, after Offset and Deduction",
        "totalLabel": "Derivative Liability, Fair Value, Amount Offset Against Collateral, Total",
        "documentation": "Fair value, after effect of master netting arrangement and deduction of obligation to return financial collateral not offset and financial instrument subject to master netting arrangement not offset, of financial 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. Includes derivative not subject to master netting arrangement or similar agreement."
       }
      }
     },
     "auth_ref": [
      "r45",
      "r148"
     ]
    },
    "us-gaap_DerivativeInstrumentGainLossReclassifiedFromAociIntoIncomeEffectivePortionStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeInstrumentGainLossReclassifiedFromAociIntoIncomeEffectivePortionStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instrument, Gain (Loss) Reclassified from AOCI into Income, Effective Portion, Statement of Income or Comprehensive Income [Extensible Enumeration]",
        "documentation": "Indicates line item in statement of income or comprehensive income that includes gain (loss) from effective portion of derivative instrument reclassified from accumulated other comprehensive income (AOCI) into income."
       }
      }
     },
     "auth_ref": [
      "r645"
     ]
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeInstrumentRiskAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative Instrument",
        "label": "Derivative Instrument [Axis]",
        "documentation": "Information by type of derivative contract."
       }
      }
     },
     "auth_ref": [
      "r134",
      "r137",
      "r139",
      "r143",
      "r877",
      "r880",
      "r895",
      "r896",
      "r897",
      "r899",
      "r900",
      "r901",
      "r902",
      "r904",
      "r905",
      "r906",
      "r907",
      "r919",
      "r920",
      "r921",
      "r922",
      "r925",
      "r926",
      "r927",
      "r928",
      "r985",
      "r986",
      "r989",
      "r992",
      "r1046",
      "r1084",
      "r1086"
     ]
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/2023",
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r220",
      "r648",
      "r661"
     ]
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging Relationship",
        "label": "Hedging Relationship [Axis]",
        "documentation": "Information by type of hedging relationship."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r134",
      "r139"
     ]
    },
    "us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net",
        "totalLabel": "Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net, Total",
        "terseLabel": "Amount of Gain Reclassified from OCI to Income as a Decrease to Interest Income Expense",
        "documentation": "The effective portion of net gain (loss) reclassified from accumulated other comprehensive income into income on derivative instruments designated and qualifying as hedging instruments."
       }
      }
     },
     "auth_ref": [
      "r40",
      "r141"
     ]
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r142",
      "r1112"
     ]
    },
    "by_DerivativeInstrumentsTransactionFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "DerivativeInstrumentsTransactionFees",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DerivativeLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedTotalLabel": "Net amount presented in the Consolidated Statements of Financial Condition",
        "terseLabel": "Derivative liabilities",
        "label": "Derivative Liability",
        "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": [
      "r306",
      "r307",
      "r693",
      "r869",
      "r870",
      "r871",
      "r873",
      "r875",
      "r876",
      "r877",
      "r879",
      "r880",
      "r904",
      "r906",
      "r907",
      "r986",
      "r987",
      "r988",
      "r989",
      "r990",
      "r992",
      "r993",
      "r1046",
      "r1258"
     ]
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeLiabilityFairValueGrossAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r35",
      "r46",
      "r136",
      "r990",
      "r991",
      "r1045"
     ]
    },
    "us-gaap_DerivativeLiabilityFairValueNetAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeLiabilityFairValueNetAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_DerivativeLiabilityNotSubjectToMasterNettingArrangementDeduction": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeLiabilityNotSubjectToMasterNettingArrangementDeduction",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Offsetting derivative positions",
        "label": "Derivative Liability, Not Subject to Master Netting Arrangement Deduction",
        "documentation": "Fair value of 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, not subject to a master netting arrangement, deducted from derivative liabilities."
       }
      }
     },
     "auth_ref": [
      "r36",
      "r45"
     ]
    },
    "us-gaap_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumeration",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r642"
     ]
    },
    "us-gaap_DerivativeLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r661"
     ]
    },
    "by_DerivativeMaturityDateStartYear": {
     "xbrltype": "gYearMonthItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "DerivativeMaturityDateStartYear",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "DerivativeMaturityDatesEndYear",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DerivativeNetLiabilityPositionAggregateFairValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r144"
     ]
    },
    "us-gaap_DerivativeNotionalAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeNotionalAmount",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1225",
      "r1226"
     ]
    },
    "us-gaap_DerivativeTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DerivativeTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Derivative [Table]",
        "label": "Derivative [Table]",
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item."
       }
      }
     },
     "auth_ref": [
      "r27",
      "r128",
      "r129",
      "r130",
      "r132",
      "r135",
      "r139",
      "r146",
      "r147",
      "r150",
      "r661"
     ]
    },
    "by_DerivativeWeightedAveragePayRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "DerivativeWeightedAveragePayRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "DerivativeWeightedAverageReceiveRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DerivativesFairValueLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DesignatedAsHedgingInstrumentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r27"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r567",
      "r572",
      "r600",
      "r601",
      "r603",
      "r1078"
     ]
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_DiscountOnTheUnguaranteedPortionOfGovernmentGuaranteedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "DiscountOnTheUnguaranteedPortionOfGovernmentGuaranteedLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DisposalGroupClassificationAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r292"
     ]
    },
    "us-gaap_DisposalGroupClassificationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DisposalGroupClassificationDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DisposalGroupHeldforsaleNotDiscontinuedOperationsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r5",
      "r33",
      "r292"
     ]
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r75"
     ]
    },
    "us-gaap_DividendsCommonStockCash": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsCommonStockCash",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r212"
     ]
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableAmountPerShare",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Cash dividend declared",
        "terseLabel": "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": [
      "r75"
     ]
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "xbrltype": "dateItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DocumentFiscalPeriodFocus",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DocumentFiscalYearFocus",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DocumentPeriodEndDate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "DocumentQuarterlyReport",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1102"
     ]
    },
    "dei_DocumentTransitionReport": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentTransitionReport",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1103"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "DocumentType",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_EachAnniversaryDateOfGrantVestOverFourYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "EachAnniversaryDateOfGrantVestOverFourYearsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "EachAnniversaryDateOfGrantVestOverThreeYearsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EarningsPerShareAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EarningsPerShareBasic",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Basic earnings per common share",
        "terseLabel": "Basic",
        "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": [
      "r327",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r364",
      "r367",
      "r374",
      "r375",
      "r376",
      "r380",
      "r673",
      "r674",
      "r803",
      "r827",
      "r1049"
     ]
    },
    "us-gaap_EarningsPerShareBasicLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareBasicLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r367",
      "r371",
      "r374"
     ]
    },
    "us-gaap_EarningsPerShareDiluted": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareDiluted",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r327",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r367",
      "r374",
      "r375",
      "r376",
      "r380",
      "r673",
      "r674",
      "r803",
      "r827",
      "r1049"
     ]
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EarningsPerShareTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r363",
      "r377",
      "r378",
      "r379"
     ]
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r612"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r602"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-Based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Weighted-average remaining amortization period",
        "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": [
      "r602"
     ]
    },
    "by_EmployeeServiceShareBasedCompensationTaxBenefitExpenseFromCompensationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitExpenseFromCompensationExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r599"
     ]
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r264"
     ]
    },
    "us-gaap_EmployeeStockOptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EmployeeStockOptionMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stock Options",
        "label": "Employee Stock Option [Member]",
        "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": []
    },
    "dei_EntityAddressAddressLine1": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityAddressAddressLine1",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityAddressAddressLine2",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityAddressCityOrTown",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityAddressPostalZipCode",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityAddressStateOrProvince",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1100"
     ]
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityCommonStockSharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityCurrentReportingStatus",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityEmergingGrowthCompany",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1100"
     ]
    },
    "dei_EntityExTransitionPeriod": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityExTransitionPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1105"
     ]
    },
    "dei_EntityFileNumber": {
     "xbrltype": "fileNumberItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityFileNumber",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityFilerCategory",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1100"
     ]
    },
    "dei_EntityIncorporationStateCountryCode": {
     "xbrltype": "edgarStateCountryItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityIncorporationStateCountryCode",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EntityInteractiveDataCurrent",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1104"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Registrant Name",
        "label": "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": [
      "r1100"
     ]
    },
    "dei_EntityShellCompany": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityShellCompany",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1100"
     ]
    },
    "dei_EntitySmallBusiness": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntitySmallBusiness",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1100"
     ]
    },
    "dei_EntityTaxIdentificationNumber": {
     "xbrltype": "employerIdItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "EntityTaxIdentificationNumber",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Entity Tax Identification Number",
        "label": "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": [
      "r1100"
     ]
    },
    "us-gaap_EquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_EquityAndOtherSecuritiesAtFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "EquityAndOtherSecuritiesAtFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "EquityComponentDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r26",
      "r288",
      "r321",
      "r322",
      "r323",
      "r343",
      "r344",
      "r345",
      "r350",
      "r358",
      "r360",
      "r382",
      "r457",
      "r465",
      "r555",
      "r604",
      "r605",
      "r606",
      "r616",
      "r617",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r660",
      "r672",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r740",
      "r840",
      "r841",
      "r842",
      "r857",
      "r931"
     ]
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGainLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesFvNiRealizedGainLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r828",
      "r1172"
     ]
    },
    "us-gaap_EquitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EquitySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r90",
      "r1094",
      "r1095",
      "r1096",
      "r1264"
     ]
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r528",
      "r693",
      "r1066",
      "r1067"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/2023",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r680",
      "r681",
      "r686"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r680",
      "r681",
      "r686"
     ]
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r28"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r28",
      "r152",
      "r222"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class",
        "label": "Asset Class [Domain]",
        "documentation": "Class of asset."
       }
      }
     },
     "auth_ref": [
      "r29"
     ]
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r29",
      "r154"
     ]
    },
    "by_FairValueAssetsToOrFromLevelThreeTransfersAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FairValueAssetsToOrFromLevelThreeTransfersAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByAssetClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Asset Class",
        "label": "Asset Class [Axis]",
        "documentation": "Information by class of asset."
       }
      }
     },
     "auth_ref": [
      "r152",
      "r154"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByBalanceSheetGroupingTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r152",
      "r155",
      "r156"
     ]
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r152",
      "r155"
     ]
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r528",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r681",
      "r747",
      "r748",
      "r749",
      "r1066",
      "r1067",
      "r1072",
      "r1073",
      "r1074"
     ]
    },
    "us-gaap_FairValueByLiabilityClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByLiabilityClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liability Class [Axis]",
        "documentation": "Information by class of liability."
       }
      }
     },
     "auth_ref": [
      "r154",
      "r221"
     ]
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByMeasurementBasisAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Basis",
        "label": "Measurement Basis [Axis]",
        "documentation": "Information by measurement basis."
       }
      }
     },
     "auth_ref": [
      "r42",
      "r152",
      "r528",
      "r1066",
      "r1067"
     ]
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueByMeasurementFrequencyAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Frequency",
        "label": "Measurement Frequency [Axis]",
        "documentation": "Information by measurement frequency."
       }
      }
     },
     "auth_ref": [
      "r680",
      "r681",
      "r683",
      "r684",
      "r687"
     ]
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosureItemAmountsDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r528",
      "r1066",
      "r1067"
     ]
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosuresAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueDisclosuresTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r679"
     ]
    },
    "by_FairValueEquityToOrFromLevelThreeTransfersAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FairValueEquityToOrFromLevelThreeTransfersAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_FairValueInputExpectedWeightedAverageLoanLifeWeightedAverageRangeAssumptionsExpectedTerm": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FairValueInputExpectedWeightedAverageLoanLifeWeightedAverageRangeAssumptionsExpectedTerm",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FairValueInputsLevel1Member",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r528",
      "r559",
      "r564",
      "r681",
      "r747",
      "r1072",
      "r1073",
      "r1074"
     ]
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel2Member",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r528",
      "r559",
      "r564",
      "r681",
      "r748",
      "r1066",
      "r1067",
      "r1072",
      "r1073",
      "r1074"
     ]
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueInputsLevel3Member",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r528",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r681",
      "r749",
      "r1066",
      "r1067",
      "r1072",
      "r1073",
      "r1074"
     ]
    },
    "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r29"
     ]
    },
    "by_FairValueLiabilitiesToOrFromLevelThreeTransfersAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FairValueLiabilitiesToOrFromLevelThreeTransfersAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FairValueMeasurementChangeInValuationOfInputValueDescription",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FairValueMeasurementFrequencyDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Measurement Frequency",
        "label": "Measurement Frequency [Domain]",
        "documentation": "Measurement frequency."
       }
      }
     },
     "auth_ref": []
    },
    "by_FairValueMeasurementWithUnobservableInputsReconciliationRecurringAccretionOfDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringAccretionOfDiscount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r685"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r153"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r153"
     ]
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r29"
     ]
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r528",
      "r559",
      "r560",
      "r561",
      "r562",
      "r563",
      "r564",
      "r747",
      "r748",
      "r749",
      "r1066",
      "r1067",
      "r1072",
      "r1073",
      "r1074"
     ]
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueMeasurementsRecurringMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r679",
      "r687"
     ]
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r29",
      "r34"
     ]
    },
    "by_FairValueOfUnvestedRestrictedStockAwards": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FairValueOfUnvestedRestrictedStockAwards",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20240630/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 in which net income is reported that includes gain (loss) from asset measured at fair value using unobservable input (level 3)."
       }
      }
     },
     "auth_ref": [
      "r685"
     ]
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fair Values Derivatives Balance Sheet Location By Derivative Contract Type By Hedging Designation [Table]",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "documentation": "Schedule that discloses the location and fair value amounts of derivative instruments (and nonderivative instruments that are designated and qualify as hedging instruments) reported in the statement of financial position."
       }
      }
     },
     "auth_ref": [
      "r133",
      "r135",
      "r149"
     ]
    },
    "us-gaap_FederalFundsPurchased": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalFundsPurchased",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r164"
     ]
    },
    "us-gaap_FederalHomeLoanBankAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalHomeLoanBankAdvances",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FederalHomeLoanBankAdvancesFixedInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FederalHomeLoanBankAdvancesInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FederalHomeLoanBankAdvancesMaximumBorrowingCapacityAsPercentageOfAssets",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FederalHomeLoanBankAdvancesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "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": [
      "r229"
     ]
    },
    "by_FederalHomeLoanBankFixedRateAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FederalHomeLoanBankFixedRateAdvances",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_FederalReserveBankAdvancesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FederalReserveBankAdvancesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r229"
     ]
    },
    "by_FederalReserveBankDiscountWindowBorrowing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FederalReserveBankDiscountWindowBorrowing",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FederalReserveBankDiscountWindowLineMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FederalReserveBankMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "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/20240630",
     "localname": "FederalReserveBankOfChicagoDiscountWindowLineMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FeesAndServiceChargesOnDeposits",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivable",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInDueThereafter",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInFourYears",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": "2028"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInNextTwelveMonths",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": "2025"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInThreeYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInThreeYears",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": "2027"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInTwoYears": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInTwoYears",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": "2026"
       }
      }
     },
     "auth_ref": []
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": "2024"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinanceLeasesPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinanceLeasesPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_FinancialAsset12MonthsOrLongerMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancialAsset12MonthsOrLongerMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FinancialAssetAcquiredWithCreditDeteriorationMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1154"
     ]
    },
    "by_FinancialAssetLessThan12MonthsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancialAssetLessThan12MonthsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FinancialAssetNotPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Not Past Due [Member]",
        "terseLabel": "Current",
        "documentation": "Financial asset not past due."
       }
      }
     },
     "auth_ref": [
      "r475",
      "r1061"
     ]
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialAssetPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, Past Due [Member]",
        "terseLabel": "Total Past Due",
        "documentation": "Financial asset past due."
       }
      }
     },
     "auth_ref": [
      "r475",
      "r1061",
      "r1153"
     ]
    },
    "us-gaap_FinancialInstrumentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialInstrumentAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Financial Instrument",
        "label": "Financial Instrument [Axis]",
        "documentation": "Information by type of financial instrument."
       }
      }
     },
     "auth_ref": [
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r468",
      "r469",
      "r475",
      "r476",
      "r483",
      "r488",
      "r493",
      "r494",
      "r536",
      "r552",
      "r661",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r751",
      "r752",
      "r753",
      "r757",
      "r758",
      "r759",
      "r760",
      "r763",
      "r766",
      "r774",
      "r775",
      "r776",
      "r777",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r785",
      "r786",
      "r787",
      "r789",
      "r790",
      "r791",
      "r825",
      "r1062",
      "r1115",
      "r1116",
      "r1117",
      "r1118",
      "r1119",
      "r1120",
      "r1121",
      "r1168",
      "r1169",
      "r1170",
      "r1171"
     ]
    },
    "us-gaap_FinancialInstrumentPerformanceStatusAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialInstrumentPerformanceStatusAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instrument Performance Status [Axis]",
        "documentation": "Information by category of performance or non-performance status of financial instruments."
       }
      }
     },
     "auth_ref": [
      "r1179"
     ]
    },
    "us-gaap_FinancialInstrumentPerformanceStatusDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialInstrumentPerformanceStatusDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instrument Performance Status [Domain]",
        "documentation": "Category of performance or non-performance status of financial instruments, including but not limited to, financing receivables, loans, debt, and investments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r467",
      "r482"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLosses",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Financing Receivable, Allowance for Credit Loss, Beginning Balance",
        "periodEndLabel": "Financing Receivable, Allowance for Credit Loss, Ending Balance",
        "label": "Financing Receivable, Allowance for Credit Loss",
        "totalLabel": "Total Allowance For Credit Losses",
        "terseLabel": "Total allowance for credit losses",
        "documentation": "Amount of allowance for credit loss on financing receivable. Excludes allowance for financing receivable covered under loss sharing agreement."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r278",
      "r280",
      "r282",
      "r304",
      "r466",
      "r470",
      "r474",
      "r1249"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r283",
      "r1177"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossesPeriodIncreaseDecrease",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r82",
      "r1177"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossesRecovery",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r20",
      "r473",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableAllowanceForCreditLossesWriteOffs",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Charge-offs",
        "terseLabel": "Charge-offs",
        "label": "Financing Receivable, Allowance for Credit Loss, Writeoff",
        "totalLabel": "Financing Receivable, Allowance for Credit Loss, Writeoff, Total",
        "documentation": "Amount of writeoff of financing receivable, charged against allowance for credit loss."
       }
      }
     },
     "auth_ref": [
      "r19",
      "r472",
      "r485",
      "r1060"
     ]
    },
    "by_FinancingReceivableAllowanceForLoansAndLeasesAcquiredDeterioratedCreditQuality": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableAllowanceForLoansAndLeasesAcquiredDeterioratedCreditQuality",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loans acquired with deteriorated credit quality",
        "label": "Financing Receivable Allowance For Loans And Leases Acquired Deteriorated Credit Quality",
        "documentation": "Financing receivable allowance for loans and leases acquired deteriorated credit quality."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableAllowanceForLoansAndLossesCollectivelyEvaluatedForImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableAllowanceForLoansAndLossesCollectivelyEvaluatedForImpairment",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FinancingReceivableAllowanceForLoansAndLossesIndividuallyEvaluatedForImpairment",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "FinancingReceivableBeforeAllowanceForCreditLossAndFee",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r484",
      "r1147",
      "r1250"
     ]
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Collectively evaluated for impairment",
        "label": "Financing Receivable, Collectively Evaluated for Impairment",
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment."
       }
      }
     },
     "auth_ref": [
      "r404",
      "r1053"
     ]
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r83",
      "r1179"
     ]
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestModifiedSubsequentDefault": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableExcludingAccruedInterestModifiedSubsequentDefault",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Excluding Accrued Interest, Modified, Subsequent Default",
        "terseLabel": "Financing receivable excluding accrued interest modified subsequent default",
        "documentation": "Amortized cost excluding accrued interest, 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": [
      "r414"
     ]
    },
    "us-gaap_FinancingReceivableExcludingAccruedInterestPurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableExcludingAccruedInterestPurchasedWithCreditDeteriorationAllowanceForCreditLossAtAcquisitionDate",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r471",
      "r479"
     ]
    },
    "by_FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanDuringThePeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableExcludingAccruedInterestRevolvingConvertedToTermLoanDuringThePeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable excluding accrued interest revolving converted to term loan during the period.",
        "label": "Financing Receivable Excluding Accrued Interest Revolving Converted To Term Loan During The Period",
        "terseLabel": "Revolving loans converted to term loans"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Individually evaluated for impairment",
        "label": "Financing Receivable, Individually Evaluated for Impairment",
        "documentation": "The balance of financing receivables that were individually evaluated for impairment."
       }
      }
     },
     "auth_ref": [
      "r405",
      "r1053"
     ]
    },
    "by_FinancingReceivableModificationNetTransfersFromToAccrual": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationNetTransfersFromToAccrual",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net transfers to accrual",
        "label": "Financing Receivable Modification Net Transfers From To Accrual",
        "documentation": "Financing receivable modification net transfers from (to) accrual."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationNetTransfersFromToNonAccrual": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationNetTransfersFromToNonAccrual",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net transfers from non-accrual",
        "label": "Financing Receivable Modification Net Transfers From To Non Accrual",
        "documentation": "Financing receivable modification net transfers from (to) non accrual."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationRecordedInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationRecordedInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Total troubled debt restructurings",
        "label": "Financing Receivable Modification Recorded Investment",
        "documentation": "Financing receivable modification recorded investment."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationsAccruingAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsAccruingAdditions",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additions",
        "label": "Financing Receivable Modifications Accruing Additions",
        "documentation": "Financing receivable, modifications, accruing additions."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationsAccruingNetPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsAccruingNetPayments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net payments",
        "label": "Financing Receivable Modifications Accruing Net Payments",
        "documentation": "Financing receivable, modifications, accruing net payments."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationsIndividuallyEvaluated": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsIndividuallyEvaluated",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable modifications individually evaluated.",
        "label": "Financing Receivable Modifications Individually Evaluated",
        "terseLabel": "Individually Evaluated"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableModificationsLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableModificationsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Modified [Line Items]",
        "terseLabel": "Financing Receivable Modifications [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": [
      "r407",
      "r408",
      "r411",
      "r412",
      "r1052"
     ]
    },
    "by_FinancingReceivableModificationsNonAccruingAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsNonAccruingAdditions",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Additions",
        "label": "Financing Receivable Modifications Non Accruing Additions",
        "documentation": "Financing receivable, modifications, non-accruing additions."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationsNonAccruingChargeOffs": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsNonAccruingChargeOffs",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Charge-offs",
        "label": "Financing Receivable Modifications Non Accruing Charge Offs",
        "documentation": "Financing receivable, modifications, non-accruing charge-offs."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationsNonAccruingNetPayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsNonAccruingNetPayments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net payments",
        "label": "Financing Receivable Modifications Non Accruing Net Payments",
        "documentation": "Financing receivable, modifications, non-accruing net payments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableModificationsNumberOfContracts2": {
     "xbrltype": "integerItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableModificationsNumberOfContracts2",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Number of Loans",
        "label": "Financing Receivable, Modifications, Number of Contracts",
        "documentation": "Number of financing receivables that have been modified by troubled debt restructurings."
       }
      }
     },
     "auth_ref": [
      "r1149"
     ]
    },
    "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableModificationsPostModificationRecordedInvestment2",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Post-Modification Outstanding Recorded Investment",
        "label": "Financing Receivable, Modified in Period, Amount",
        "documentation": "Amortized cost of financing receivable modified during period for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r411",
      "r1052",
      "r1149"
     ]
    },
    "us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableModificationsPreModificationRecordedInvestment2",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Pre-Modification Outstanding Recorded Investment",
        "label": "Financing Receivable, Troubled Debt Restructuring, Premodification",
        "documentation": "Amount, before troubled debt restructuring, of financing receivable to be modified."
       }
      }
     },
     "auth_ref": [
      "r1149"
     ]
    },
    "us-gaap_FinancingReceivableModificationsRecordedInvestment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableModificationsRecordedInvestment",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total troubled debt restructurings",
        "label": "Financing Receivable, Modified, Accumulated",
        "terseLabel": "Total troubled debt restructurings",
        "documentation": "Accumulated amortized cost of financing receivable modified for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r203",
      "r1149",
      "r1151"
     ]
    },
    "by_FinancingReceivableModificationsRecordedInvestmentAccruing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsRecordedInvestmentAccruing",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Financing Receivable Modifications Recorded Investment Accruing",
        "documentation": "Financing receivable, modifications, recorded investment, accruing."
       }
      }
     },
     "auth_ref": []
    },
    "by_FinancingReceivableModificationsRecordedInvestmentNonAccruing": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableModificationsRecordedInvestmentNonAccruing",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Financing Receivable Modifications Recorded Investment Non Accruing",
        "documentation": "Financing receivable, modifications, recorded investment, non-accruing."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Modified, Subsequent Default",
        "terseLabel": "Recorded investment in troubled debt restructurings that subsequently defaulted within twelve months",
        "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": [
      "r409",
      "r414",
      "r1052"
     ]
    },
    "us-gaap_FinancingReceivableNonaccrualNoAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableNonaccrualNoAllowance",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails"
     ],
     "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": [
      "r477"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r485",
      "r1060"
     ]
    },
    "by_FinancingReceivableOriginatedFiveYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FinancingReceivableOriginatedFiveYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/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": "2019"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Five, Originated, Four Years before Current Fiscal Year",
        "terseLabel": "2020",
        "documentation": "Amortized cost of financing receivable originated four years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r485",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedInCurrentFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year One, Originated, Current Fiscal Year",
        "terseLabel": "2024",
        "documentation": "Amortized cost of financing receivable originated in current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r485",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year",
        "terseLabel": "2023",
        "documentation": "Amortized cost of financing receivable originated in fiscal year prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r485",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year",
        "terseLabel": "2021",
        "documentation": "Amortized cost of financing receivable originated three years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r485",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year",
        "terseLabel": "2022",
        "documentation": "Amortized cost of financing receivable originated two years prior to current fiscal year. Excludes net investment in lease."
       }
      }
     },
     "auth_ref": [
      "r485",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r276",
      "r277",
      "r281",
      "r282",
      "r468",
      "r469",
      "r1054",
      "r1115",
      "r1116",
      "r1117",
      "r1118",
      "r1119",
      "r1120",
      "r1121",
      "r1123",
      "r1124",
      "r1125"
     ]
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r276",
      "r277",
      "r281",
      "r282",
      "r1115",
      "r1116",
      "r1117",
      "r1118",
      "r1119",
      "r1120",
      "r1121",
      "r1123",
      "r1124",
      "r1125"
     ]
    },
    "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtParValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablePurchasedWithCreditDeteriorationAmountAtParValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Par value of acquired loans at acquisition",
        "totalLabel": "Par value of acquired loans at acquisition",
        "label": "Financing Receivable, Purchased with Credit Deterioration, Amount at Par Value",
        "documentation": "Amount at par value of financing receivable purchased with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r481"
     ]
    },
    "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablePurchasedWithCreditDeteriorationAmountAtPurchasePrice",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParVa"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Purchased with Credit Deterioration, Amount at Purchase Price",
        "totalLabel": "Financing Receivable, Purchased with Credit Deterioration, Amount at Purchase Price, Total",
        "terseLabel": "Fair value of loans at acquisition",
        "documentation": "Amount at purchase price of financing receivable purchased with credit deterioration."
       }
      }
     },
     "auth_ref": [
      "r478"
     ]
    },
    "us-gaap_FinancingReceivablePurchasedWithCreditDeteriorationDiscountPremium": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablePurchasedWithCreditDeteriorationDiscountPremium",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r480"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "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": [
      "r84",
      "r85",
      "r276",
      "r277",
      "r281",
      "r282",
      "r406",
      "r411",
      "r412",
      "r413",
      "r414",
      "r475",
      "r476",
      "r483",
      "r1052",
      "r1055",
      "r1056",
      "r1060",
      "r1061",
      "r1115",
      "r1116",
      "r1117",
      "r1118",
      "r1119",
      "r1120",
      "r1121",
      "r1123",
      "r1124",
      "r1125"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "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": [
      "r276",
      "r277",
      "r281",
      "r282",
      "r411",
      "r412",
      "r413",
      "r414",
      "r1052",
      "r1115",
      "r1116",
      "r1117",
      "r1118",
      "r1119",
      "r1120",
      "r1121",
      "r1123",
      "r1124",
      "r1125"
     ]
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa3"
     ],
     "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": [
      "r1060",
      "r1179"
     ]
    },
    "us-gaap_FinancingReceivableRevolving": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRevolving",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r485",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivableRevolvingConvertedToTermLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableRevolvingConvertedToTermLoan",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Revolving, Converted to Term Loan",
        "terseLabel": "Term loans converted from revolving loans",
        "documentation": "Amortized cost of revolving financing receivable converted to term loan."
       }
      }
     },
     "auth_ref": [
      "r486",
      "r1060"
     ]
    },
    "us-gaap_FinancingReceivableUnamortizedLoanFeeCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivableUnamortizedLoanFeeCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r410",
      "r415",
      "r1106"
     ]
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]",
        "terseLabel": "30 to 59 Days Past Due",
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due."
       }
      }
     },
     "auth_ref": [
      "r1061"
     ]
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1061"
     ]
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1061"
     ]
    },
    "us-gaap_FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Charge-offs",
        "label": "Financing Receivables, Impaired, Troubled Debt Restructuring, Write-down",
        "documentation": "Reflects the amount of the write-down related to a troubled debt restructuring."
       }
      }
     },
     "auth_ref": [
      "r203"
     ]
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r266",
      "r475",
      "r1061"
     ]
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r266",
      "r475",
      "r1061"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r296",
      "r500"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Thereafter",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Five",
        "documentation": "Amount of amortization for asset, excluding financial asset and goodwill, lacking physical substance with finite life expected to be recognized after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach)."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2024",
        "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": [
      "r206"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2028",
        "documentation": "Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in 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": [
      "r206"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2027",
        "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": [
      "r206"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2026",
        "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": [
      "r206"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2025",
        "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": [
      "r206"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r497",
      "r499",
      "r500",
      "r501",
      "r794",
      "r798"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r94",
      "r96"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r205",
      "r794"
     ]
    },
    "us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r794"
     ]
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r498"
     ]
    },
    "by_FirstAnniversaryOfGrantDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FirstAnniversaryOfGrantDateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FirstEvanstonBancorpIncStockIncentivePlanMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FirstEvanstonBancorpTrustOneMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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_FixedInterestRateSwapMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FixedInterestRateSwapMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FixedInterestRateSwapOneMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FixedInterestRateSwapThreeMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FixedInterestRateSwapTwoMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FixedInterestsRateSwapFiveMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FixedRateLoanCommitmentPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FixedRateLoanCommitmentsMaturitiesEndingYear",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_FixedToFloatingSubordinateNotesMatureOnFirstJulyTwoThousandThirtyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "FixedToFloatingSubordinateNotesMatureOnFirstJulyTwoThousandThirtyMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Fixed-To-Floating Subordinate Notes Mature on July 1, 2030",
        "label": "Fixed To Floating Subordinate Notes Mature On First July Two Thousand Thirty [Member]",
        "documentation": "Fixed to floating subordinate notes mature on first july two thousand thirty."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ForeclosedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ForeclosedAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other real estate owned, net",
        "label": "Repossessed Assets",
        "totalLabel": "Repossessed Assets, Total",
        "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": [
      "r402",
      "r403"
     ]
    },
    "by_ForwardStartingInterestRateSwapsDueAugust2024Member": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ForwardStartingInterestRateSwapsDueAugust2024Member",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ForwardStartingInterestRateSwapsDueMarch2024Member",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "FourthAmendmentRevolvingCreditAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_GainLossOnContractTermination": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnContractTermination",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r197"
     ]
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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 on sales and disposal of premises and equipment",
        "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": [
      "r9"
     ]
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnSalesOfLoansNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20240630/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": [
      "r9",
      "r239"
     ]
    },
    "us-gaap_GainLossOnTerminationOfLease": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainLossOnTerminationOfLease",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Gain on termination",
        "label": "Gain (Loss) on Termination of Lease",
        "documentation": "Amount of gain (loss) on termination of lease before expiration of lease term."
       }
      }
     },
     "auth_ref": [
      "r721"
     ]
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gains (Losses) on Sales of Other Real Estate",
        "terseLabel": "Gains (losses) 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": [
      "r241"
     ]
    },
    "by_GainsLossesOnSalesOfOtherRealEstateAndOtherRelatedExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "GainsLossesOnSalesOfOtherRealEstateAndOtherRelatedExpenses",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net (gain) loss recognized on other real estate owned and other related expenses",
        "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."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_Goodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "Goodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20240630/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 an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized."
       }
      }
     },
     "auth_ref": [
      "r295",
      "r495",
      "r799",
      "r1063",
      "r1081",
      "r1181",
      "r1182"
     ]
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "GoodwillAcquiredDuringPeriod",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r496",
      "r1063"
     ]
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/2023",
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r204"
     ]
    },
    "us-gaap_HedgingDesignationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HedgingDesignationAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r27",
      "r646"
     ]
    },
    "us-gaap_HedgingDesignationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HedgingDesignationDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging Designation",
        "label": "Hedging Designation [Domain]",
        "documentation": "Designation of purpose of derivative instrument."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "us-gaap_HedgingRelationshipDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HedgingRelationshipDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Hedging Relationship",
        "label": "Hedging Relationship [Domain]",
        "documentation": "Nature or intent of a hedge."
       }
      }
     },
     "auth_ref": [
      "r27"
     ]
    },
    "us-gaap_HeldToMaturitySecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Securities held-to-maturity, at amortized cost (fair value at June 30, 2024 - $601, December 31,2023 - $1,149)",
        "totalLabel": "Held-to-maturity Securities, Amortized Cost",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss",
        "documentation": "Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity)."
       }
      }
     },
     "auth_ref": [
      "r266",
      "r434",
      "r475",
      "r1176"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r252",
      "r444"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "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": [
      "r253",
      "r445"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r256",
      "r258"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r256"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r255"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r256",
      "r258"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r258"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r258"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r254",
      "r261",
      "r447",
      "r808"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r439",
      "r806"
     ]
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldToMaturitySecuritiesFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Held-to-maturity Securities, Fair Value",
        "totalLabel": "Held-to-maturity securities, Fair Value, Total",
        "terseLabel": "Securities held-to-maturity, fair value",
        "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": [
      "r251",
      "r443",
      "r800",
      "r813"
     ]
    },
    "us-gaap_HeldtomaturitySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "HeldtomaturitySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r259"
     ]
    },
    "by_Heldtomaturitysecuritiescontinuousunrealizedlosspositionnumberofpositions": {
     "xbrltype": "integerItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "Heldtomaturitysecuritiescontinuousunrealizedlosspositionnumberofpositions",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_ImpactOfCeclAdoptionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ImpactOfCeclAdoptionMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impact of CECL Adoption.",
        "label": "Impact of CECL Adoption [Member]",
        "terseLabel": "Impact of CECL Adoption [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "by_ImpairmentLossOnPremisesAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ImpairmentLossOnPremisesAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impairment Loss on Premises and Equipment",
        "label": "Impairment Loss on Premises and Equipment",
        "terseLabel": "Impairment loss on premises and equipment"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Impairment loss on assets held for sale",
        "label": "Impairment of Long-Lived Assets to be Disposed of",
        "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": [
      "r9",
      "r207"
     ]
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r0",
      "r188",
      "r232",
      "r385",
      "r391",
      "r395",
      "r397",
      "r805",
      "r822",
      "r1051"
     ]
    },
    "us-gaap_IncomeStatementAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementLocationAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Statement Location",
        "label": "Income Statement Location [Axis]",
        "documentation": "Information by location in the income statement."
       }
      }
     },
     "auth_ref": [
      "r502",
      "r504",
      "r915"
     ]
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeStatementLocationDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Statement Location",
        "label": "Income Statement Location [Domain]",
        "documentation": "Location in the income statement."
       }
      }
     },
     "auth_ref": [
      "r504",
      "r915"
     ]
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxAuthorityAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Authority [Axis]",
        "documentation": "Information by tax jurisdiction."
       }
      }
     },
     "auth_ref": [
      "r22"
     ]
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxAuthorityDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Authority [Domain]",
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxDisclosureAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Income Taxes",
        "label": "Income Tax Disclosure [Text Block]",
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information."
       }
      }
     },
     "auth_ref": [
      "r339",
      "r608",
      "r613",
      "r614",
      "r615",
      "r621",
      "r625",
      "r626",
      "r627",
      "r856"
     ]
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncomeTaxExpenseBenefit",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": "Provision for income taxes",
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations."
       }
      }
     },
     "auth_ref": [
      "r262",
      "r270",
      "r359",
      "r360",
      "r389",
      "r611",
      "r622",
      "r830"
     ]
    },
    "by_IncomeTaxLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "IncomeTaxLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "IncomeTaxesPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash paid during the period for taxes",
        "label": "Income Taxes Paid, Net",
        "totalLabel": "Income Taxes Paid, Net, Total",
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes."
       }
      }
     },
     "auth_ref": [
      "r74"
     ]
    },
    "by_IncreaseDecreaseInAccruedInterestPayableAndOtherLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "IncreaseDecreaseInAccruedInterestPayableAndOtherLiabilities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "IncreaseDecreaseInAccruedInterestReceivableAndOtherAssetsNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "IncreaseDecreaseInDeposits",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r72",
      "r169"
     ]
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Changes in assets and liabilities:",
        "label": "Increase (Decrease) in Operating Capital [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r368",
      "r369",
      "r370",
      "r376",
      "r571"
     ]
    },
    "by_IndividuallyEvaluatedForImpairmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "IndividuallyEvaluatedForImpairmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InformationByCategoryOfDebtSecurityAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InformationTechnologyAndDataProcessing",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Data processing",
        "label": "Information Technology and Data Processing",
        "documentation": "The amount of expenses incurred in the period for information technology and data processing products and services."
       }
      }
     },
     "auth_ref": [
      "r192"
     ]
    },
    "by_InlandBancorpIncMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InlandBancorpIncMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "InlandBancorpTrustFiveMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "InlandBancorpTrustFourMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "InlandBancorpTrustThreeMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "InlandBancorpTrustTwoMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_InstallmentAndOtherPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InstallmentAndOtherPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r92",
      "r95"
     ]
    },
    "us-gaap_IntangibleAssetsNetIncludingGoodwill": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "IntangibleAssetsNetIncludingGoodwill",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": "Carrying amount of finite-lived intangible assets, indefinite-lived intangible assets and goodwill. Goodwill is an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Intangible assets are assets, not including financial assets, lacking physical substance."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndDividendIncomeOperating",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r235",
      "r1265"
     ]
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r234"
     ]
    },
    "us-gaap_InterestBearingDepositLiabilities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestBearingDepositLiabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r163"
     ]
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestBearingDepositLiabilitiesDomestic",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r163"
     ]
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestBearingDepositsInBanks",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r161",
      "r167"
     ]
    },
    "us-gaap_InterestBearingDomesticDepositChecking": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestBearingDomesticDepositChecking",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r163"
     ]
    },
    "by_InterestBearingDomesticDepositMoneyMarketAndDemandAccounts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InterestBearingDomesticDepositMoneyMarketAndDemandAccounts",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "InterestBearingDomesticDepositOtherSavings",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InterestBearingDomesticDepositTimeDeposits",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r163"
     ]
    },
    "by_InterestBearingTimeDepositBrokered": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InterestBearingTimeDepositBrokered",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total interest expense",
        "label": "Interest Expense",
        "terseLabel": "Interest expense",
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense."
       }
      }
     },
     "auth_ref": [
      "r159",
      "r247",
      "r324",
      "r388",
      "r712",
      "r916",
      "r1097",
      "r1260"
     ]
    },
    "us-gaap_InterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "INTEREST EXPENSE",
        "label": "Interest Expense [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_InterestExpenseDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestExpenseDeposits",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r245"
     ]
    },
    "by_InterestExpenseOtherBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InterestExpenseOtherBorrowings",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InterestExpenseSubordinatedNotesAndDebentures",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r246"
     ]
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r238"
     ]
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeExpenseNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net interest income",
        "label": "Interest Income (Expense), Net",
        "documentation": "The net amount of operating interest income (expense)."
       }
      }
     },
     "auth_ref": [
      "r236"
     ]
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestIncomeSecuritiesTaxable",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r243",
      "r273",
      "r274"
     ]
    },
    "us-gaap_InterestPaidNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestPaidNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash paid during the period for interest",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "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": [
      "r332",
      "r334",
      "r335"
     ]
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r151"
     ]
    },
    "us-gaap_InterestRateSwapMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestRateSwapMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1041",
      "r1091",
      "r1092"
     ]
    },
    "by_InterestRateSwapTwoEffectiveHedgesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InterestRateSwapTwoEffectiveHedgesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InterestReceivable",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Accrued interest receivable",
        "label": "Interest Receivable",
        "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": [
      "r1128",
      "r1263"
     ]
    },
    "us-gaap_InterestReceivableAndOtherAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InterestReceivableAndOtherAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "InternalCreditAssessmentAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Internal Credit Assessment",
        "label": "Internal Credit Assessment [Axis]",
        "documentation": "Information by entity-defined rating."
       }
      }
     },
     "auth_ref": [
      "r83",
      "r647",
      "r1059",
      "r1060",
      "r1179"
     ]
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InternalCreditAssessmentDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Internal Credit Assessment",
        "label": "Internal Credit Assessment [Domain]",
        "documentation": "Entity defined credit risk rating."
       }
      }
     },
     "auth_ref": []
    },
    "by_InvestmentSecuritiesPledgedAsCollateral": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InvestmentSecuritiesPledgedAsCollateral",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment securities pledged as collateral.",
        "label": "Investment Securities Pledged As Collateral",
        "terseLabel": "Investment securities pledged as collateral"
       }
      }
     },
     "auth_ref": []
    },
    "by_InvestmentSecuritiesPledgedCarryingAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "InvestmentSecuritiesPledgedCarryingAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "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/2023",
     "localname": "InvestmentTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investment Type",
        "label": "Investment Type [Axis]",
        "documentation": "Information by type of investments."
       }
      }
     },
     "auth_ref": [
      "r870",
      "r872",
      "r873",
      "r875",
      "r878",
      "r936",
      "r945",
      "r960",
      "r968",
      "r981",
      "r994",
      "r995",
      "r1011",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1086"
     ]
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentTypeCategorizationMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Investments",
        "label": "Investments [Domain]",
        "documentation": "Asset obtained to generate income or appreciate in value."
       }
      }
     },
     "auth_ref": [
      "r870",
      "r872",
      "r873",
      "r875",
      "r878",
      "r936",
      "r945",
      "r960",
      "r968",
      "r981",
      "r994",
      "r995",
      "r1011",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1086"
     ]
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "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/2023",
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r223",
      "r248",
      "r250",
      "r275",
      "r418",
      "r420",
      "r688",
      "r689"
     ]
    },
    "us-gaap_InvestmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "InvestmentsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r165",
      "r1253"
     ]
    },
    "by_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Principal amount",
        "terseLabel": "Total liability, at par",
        "label": "Junior Subordinated Debenture Owed To Unconsolidated Subsidiary Trust Including Unamortized Discount",
        "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/2023",
     "localname": "JuniorSubordinatedDebtMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LaborAndRelatedExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1132"
     ]
    },
    "by_LastBusinessDayOfGrantVestOverThreeYearsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LastBusinessDayOfGrantVestOverThreeYearsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LeaseAndRentalExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LeaseCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lease, Cost",
        "totalLabel": "Total lease cost, net",
        "documentation": "Amount of lease cost recognized by lessee for lease contract."
       }
      }
     },
     "auth_ref": [
      "r726",
      "r1080"
     ]
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LeaseCostTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1235"
     ]
    },
    "us-gaap_LeasesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LeasesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_LegalAuditAndOtherProfessionalFees": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LegalAuditAndOtherProfessionalFees",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LesseeLeaseDescriptionLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r725"
     ]
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeLeaseDescriptionTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r725"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1236"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r734"
     ]
    },
    "by_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2025",
        "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": [
      "r734"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2028",
        "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": [
      "r734"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2027",
        "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": [
      "r734"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2026",
        "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": [
      "r734"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Lessee, Operating Lease, Liability, to be Paid, Remainder of Fiscal Year",
        "terseLabel": "2024",
        "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": [
      "r1236"
     ]
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r734"
     ]
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LesseeOperatingLeasesTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r720"
     ]
    },
    "by_LessorOperatingLeaseMaturityYear": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LessorOperatingLeaseMaturityYear",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "LetterAgreementMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LetterOfCreditMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "Liabilities",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities",
        "label": "Liabilities",
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future."
       }
      }
     },
     "auth_ref": [
      "r50",
      "r338",
      "r453",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r638",
      "r640",
      "r641",
      "r694",
      "r888",
      "r1050",
      "r1098",
      "r1188",
      "r1237",
      "r1238"
     ]
    },
    "us-gaap_LiabilitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LiabilitiesAndStockholdersEquity",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total liabilities and stockholders\u2019 equity",
        "label": "Liabilities and Equity",
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any."
       }
      }
     },
     "auth_ref": [
      "r184",
      "r228",
      "r820",
      "r1081",
      "r1136",
      "r1173",
      "r1231"
     ]
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "LIABILITIES AND STOCKHOLDERS\u2019 EQUITY",
        "label": "Liabilities and Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_LiborMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LiborMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LifeInsuranceCorporateOrBankOwnedChangeInValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1174"
     ]
    },
    "us-gaap_LineOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCredit",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r47",
      "r227",
      "r1253"
     ]
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r49",
      "r1135"
     ]
    },
    "by_LineOfCreditFacilityExtendedMaturityDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LineOfCreditFacilityExtendedMaturityDate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LineOfCreditFacilityInterestRateDescription",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r49"
     ]
    },
    "us-gaap_LineOfCreditFacilityInterestRateDuringPeriod": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityInterestRateDuringPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r49"
     ]
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityLenderDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r49",
      "r1135"
     ]
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1135"
     ]
    },
    "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityMaximumBorrowingCapacity",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r49"
     ]
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LineOfCreditFacilityTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Line Of Credit Facility [Table]",
        "label": "Line of Credit Facility [Table]",
        "documentation": "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line."
       }
      }
     },
     "auth_ref": [
      "r49",
      "r1135"
     ]
    },
    "by_LoanAndLeaseRelatedExpenses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LoanAndLeaseRelatedExpenses",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "LoanCommitmentsPercentageBearingFixedInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "LoanCommitmentsPercentageBearingVariableInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LoanRestructuringModificationAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r411",
      "r412",
      "r414",
      "r1052"
     ]
    },
    "us-gaap_LoanRestructuringModificationDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoanRestructuringModificationDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r411",
      "r412",
      "r414",
      "r1052"
     ]
    },
    "by_LoanServicingAssetRevaluation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LoanServicingAssetRevaluation",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "LoanServicingRevenueNonInterestIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_LoansAndLeasesReceivableAllowance": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableAllowance",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedPeriodEndLabel": "Ending balance",
        "negatedPeriodStartLabel": "Beginning balance",
        "totalLabel": "Allowance for loan and lease losses",
        "terseLabel": "Allowance for loan and lease losses",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance",
        "label": "Loans and Leases Receivable, Allowance",
        "negatedLabel": "Allowance for credit losses - loans and leases",
        "documentation": "Amount of allowance to cover probable credit losses on loans and leases. Includes carryover of or adjustments to the allowance for loan losses in connection with business combinations. Excludes allowance for loans and leases covered under loss sharing agreements."
       }
      }
     },
     "auth_ref": [
      "r17",
      "r21",
      "r89",
      "r1114"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableAllowanceCovered": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableAllowanceCovered",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/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",
        "documentation": "Amount of allowance for loan and lease losses covered by loss sharing agreements."
       }
      }
     },
     "auth_ref": []
    },
    "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LoansAndLeasesReceivableCommitmentsFixedAndVariableRates",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LoansAndLeasesReceivableCommitmentsFixedRates",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r172",
      "r173"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsVariableRates": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableCommitmentsVariableRates",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r172",
      "r173"
     ]
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmountCovered": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansAndLeasesReceivableGrossCarryingAmountCovered",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LoansAndLeasesReceivableNetReportedAmountAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LoansAndLeasesReceivableNetReportedAmountCovered",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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",
        "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/20240630",
     "localname": "LoansAndLeasesReceivableUnpaidPrincipalBalance",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_LoansInsuredOrGuaranteedByUsGovernmentAuthoritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansInsuredOrGuaranteedByUsGovernmentAuthoritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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 a 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": [
      "r1146"
     ]
    },
    "us-gaap_LoansReceivableHeldForSaleAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansReceivableHeldForSaleAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa3"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financing Receivable, Held-for-Sale",
        "terseLabel": "Loan held for sale",
        "documentation": "Amount, before valuation allowance, of financing receivable classified as held-for-sale."
       }
      }
     },
     "auth_ref": [
      "r401",
      "r1025"
     ]
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r401",
      "r1025"
     ]
    },
    "by_LoansReceivableWeightedAverageRateOfInterest": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "LoansReceivableWeightedAverageRateOfInterest",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans receivable, weighted average rate of interest.",
        "label": "Loans Receivable, Weighted Average Rate of Interest",
        "terseLabel": "Loans receivable, weighted average rate of interest"
       }
      }
     },
     "auth_ref": []
    },
    "dei_LocalPhoneNumber": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "LocalPhoneNumber",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "LongtermDebtTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r54"
     ]
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "LongtermDebtTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r54",
      "r99"
     ]
    },
    "us-gaap_MarketableSecuritiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MarketableSecuritiesTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "MaximumMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Maximum",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "auth_ref": [
      "r507",
      "r508",
      "r509",
      "r510",
      "r565",
      "r792",
      "r837",
      "r879",
      "r880",
      "r939",
      "r958",
      "r964",
      "r965",
      "r1005",
      "r1039",
      "r1040",
      "r1052",
      "r1070",
      "r1077",
      "r1083",
      "r1190",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244"
     ]
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputDiscountRateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1229"
     ]
    },
    "us-gaap_MeasurementInputExpectedTermMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputExpectedTermMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1229"
     ]
    },
    "us-gaap_MeasurementInputPrepaymentRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputPrepaymentRateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1229"
     ]
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r682"
     ]
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MeasurementInputTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_MetropolitanStatutoryTrustOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "MetropolitanStatutoryTrustOneMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "MinimumMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "auth_ref": [
      "r507",
      "r508",
      "r509",
      "r510",
      "r565",
      "r792",
      "r837",
      "r879",
      "r880",
      "r939",
      "r958",
      "r964",
      "r965",
      "r1005",
      "r1039",
      "r1040",
      "r1052",
      "r1070",
      "r1077",
      "r1083",
      "r1190",
      "r1239",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244"
     ]
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1072",
      "r1073",
      "r1074",
      "r1158",
      "r1160",
      "r1165",
      "r1166",
      "r1167",
      "r1256"
     ]
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MortgageLoansInProcessOfForeclosureAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r39"
     ]
    },
    "srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate, Type of Property [Axis]"
       }
      }
     },
     "auth_ref": [
      "r1026",
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038"
     ]
    },
    "srt_MortgageLoansOnRealEstateNamePropertyTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MortgageLoansOnRealEstateNamePropertyTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate [Domain]"
       }
      }
     },
     "auth_ref": [
      "r1030",
      "r1031",
      "r1032",
      "r1033",
      "r1034",
      "r1035",
      "r1036",
      "r1037",
      "r1038"
     ]
    },
    "srt_MultifamilyMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "MultifamilyMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Multifamily [Member]",
        "terseLabel": "Multi-Family"
       }
      }
     },
     "auth_ref": [
      "r1266",
      "r1267"
     ]
    },
    "us-gaap_MutualFundMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "MutualFundMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1197"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by financing activities",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit."
       }
      }
     },
     "auth_ref": [
      "r333"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CASH FLOWS FROM FINANCING ACTIVITIES",
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash used in investing activities",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "documentation": "Amount of cash inflow (outflow) from investing activities, including discontinued operations. Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets."
       }
      }
     },
     "auth_ref": [
      "r333"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CASH FLOWS FROM INVESTING ACTIVITIES",
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Net cash provided by operating activities",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities."
       }
      }
     },
     "auth_ref": [
      "r195",
      "r196",
      "r197"
     ]
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "CASH FLOWS FROM OPERATING ACTIVITIES",
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_NetChangeInFairValueOfEquitySecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NetChangeInFairValueOfEquitySecurities",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net change in fair value of equity securities, net",
        "label": "Net Change In Fair Value Of Equity Securities",
        "documentation": "Net change in fair value of equity securities."
       }
      }
     },
     "auth_ref": []
    },
    "by_NetChangeInServicingAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NetChangeInServicingAssets",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "NET INCOME",
        "terseLabel": "Net income",
        "label": "Net Income (Loss)",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r189",
      "r197",
      "r233",
      "r293",
      "r316",
      "r319",
      "r323",
      "r338",
      "r349",
      "r353",
      "r354",
      "r355",
      "r356",
      "r359",
      "r360",
      "r372",
      "r385",
      "r391",
      "r395",
      "r397",
      "r453",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r674",
      "r694",
      "r823",
      "r911",
      "r929",
      "r930",
      "r1051",
      "r1097",
      "r1188"
     ]
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "INCOME AVAILABLE TO COMMON STOCKHOLDERS",
        "terseLabel": "Net income available to common stockholders",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "verboseLabel": "Income available to common stockholders",
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders."
       }
      }
     },
     "auth_ref": [
      "r328",
      "r353",
      "r354",
      "r355",
      "r356",
      "r364",
      "r365",
      "r373",
      "r376",
      "r385",
      "r391",
      "r395",
      "r397",
      "r1051"
     ]
    },
    "by_NetLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NetLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net losses (gains) on sales and valuation adjustments of other real estate owned",
        "label": "Net Losses On Sales And Valuation Adjustments Of Other Real Estate Owned",
        "documentation": "Net losses on sales and valuation adjustments of other real estate owned."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r268",
      "r269",
      "r272",
      "r291",
      "r347",
      "r348",
      "r351",
      "r352",
      "r361",
      "r362",
      "r458",
      "r459",
      "r618",
      "r619",
      "r620",
      "r658",
      "r670",
      "r676",
      "r677",
      "r678",
      "r700",
      "r701",
      "r702",
      "r718",
      "r719",
      "r741",
      "r795",
      "r796",
      "r797",
      "r844",
      "r845",
      "r846",
      "r847",
      "r849"
     ]
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "NonAccrualLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non accrual loans.",
        "label": "Non Accrual Loans [Member]",
        "terseLabel": "Non Accrual Loans"
       }
      }
     },
     "auth_ref": []
    },
    "by_NonAccruingLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NonAccruingLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-accruing loans.",
        "terseLabel": "Non-accruing",
        "label": "Non Accruing Loans [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "by_NonAgencyResidentialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NonAgencyResidentialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "NonAgencySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Agency",
        "label": "Non Agency Securities [Member]",
        "documentation": "Non-Agency Securities."
       }
      }
     },
     "auth_ref": []
    },
    "by_NonInterestExpenseMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NonInterestExpenseMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "NonInterestRelatedIncomeMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Non-Interest Income",
        "label": "Non Interest Related Income [Member]",
        "documentation": "Non-Interest Income."
       }
      }
     },
     "auth_ref": []
    },
    "by_NonOwnerOccupiedCommercialMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NonOwnerOccupiedCommercialMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_NoncashMergerRelatedCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoncashMergerRelatedCosts",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Merger related expenses",
        "label": "Noncash Merger Related Costs",
        "documentation": "Amount of expense (income) related to the increase (decrease) in reserve for business combination costs. Includes, but is not limited to, legal, accounting, and other costs incurred to consummate the merger."
       }
      }
     },
     "auth_ref": [
      "r9"
     ]
    },
    "us-gaap_NondesignatedMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NondesignatedMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r27"
     ]
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestBearingDepositLiabilitiesDomestic",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r163"
     ]
    },
    "us-gaap_NoninterestBearingDomesticDepositDemand": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestBearingDomesticDepositDemand",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r163"
     ]
    },
    "us-gaap_NoninterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r242"
     ]
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestExpenseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "NoninterestIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r240"
     ]
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NoninterestIncomeAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "NoninterestIncomeOther",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r240"
     ]
    },
    "us-gaap_NonperformingFinancingReceivableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NonperformingFinancingReceivableMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r83",
      "r1179"
     ]
    },
    "us-gaap_NotesReceivableGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NotesReceivableGross",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "totalLabel": "Total loans and leases",
        "verboseLabel": "Total loans and leases",
        "terseLabel": "Loans And Leases Receivables, Gross",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "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": [
      "r266",
      "r278",
      "r279",
      "r302",
      "r475",
      "r484",
      "r1060",
      "r1061",
      "r1122",
      "r1176"
     ]
    },
    "us-gaap_NotesReceivableNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NotesReceivableNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "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": [
      "r401",
      "r484",
      "r898"
     ]
    },
    "us-gaap_NotionalAmountOfNonderivativeInstruments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "NotionalAmountOfNonderivativeInstruments",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "NumberOfInvestmentSecuritiesWithUnrealizedLosses",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "NumberOfReportableSegments",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Number of reportable segments",
        "label": "Number of Reportable Segments",
        "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": [
      "r1145"
     ]
    },
    "by_NumberOfSharesPurchasedThroughBusinessCombination": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "NumberOfSharesPurchasedThroughBusinessCombination",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_OccupancyAndEquipmentExpenseNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "OccupancyAndEquipmentExpenseNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_OmnibusPlanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "OmnibusPlanMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Omnibus Plan",
        "label": "Omnibus Plan [Member]",
        "documentation": "Omnibus plan."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OperatingLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r727",
      "r1080"
     ]
    },
    "us-gaap_OperatingLeaseImpairmentLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseImpairmentLoss",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Impairment loss on operating lease right-of-use asset",
        "label": "Operating Lease, Impairment Loss",
        "documentation": "Amount of loss from impairment of right-of-use asset from operating lease."
       }
      }
     },
     "auth_ref": [
      "r1234"
     ]
    },
    "us-gaap_OperatingLeaseLeaseIncomeLeasePayments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseLeaseIncomeLeasePayments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r381",
      "r735"
     ]
    },
    "us-gaap_OperatingLeaseLiability": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseLiability",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating lease liabilities",
        "label": "Operating Lease, Liability",
        "totalLabel": "Operating Lease, Liability, Total",
        "verboseLabel": "Net lease liabilities",
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease."
       }
      }
     },
     "auth_ref": [
      "r723"
     ]
    },
    "us-gaap_OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseLiabilityStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r724"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseRightOfUseAsset",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Operating right-of-use assets",
        "label": "Operating Lease, Right-of-Use Asset",
        "documentation": "Amount of lessee's right to use underlying asset under operating lease."
       }
      }
     },
     "auth_ref": [
      "r722"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseRightOfUseAssetAmortizationExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Lease, Right-of-Use Asset, Periodic Reduction",
        "terseLabel": "Right of use asset exchanged for operating lease liabilties",
        "documentation": "Amount of periodic reduction over lease term of carrying amount of right-of-use asset from operating lease."
       }
      }
     },
     "auth_ref": [
      "r1133"
     ]
    },
    "us-gaap_OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseRightOfUseAssetStatementOfFinancialPositionExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r724"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r733",
      "r1080"
     ]
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r732",
      "r1080"
     ]
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r260"
     ]
    },
    "by_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "OperatingLossCarryforwards",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net operating loss carryforwards",
        "label": "Operating Loss Carryforwards",
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws."
       }
      }
     },
     "auth_ref": [
      "r119"
     ]
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OperatingLossCarryforwardsTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Operating Loss Carryforwards [Table]",
        "documentation": "Schedule reflecting pertinent information, such as tax authority, amounts, and expiration dates, of net operating loss carryforwards, including an assessment of the likelihood of utilization."
       }
      }
     },
     "auth_ref": [
      "r118"
     ]
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/20240630",
     "localname": "OriginatedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "OtherBorrowings",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r230"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r7",
      "r23",
      "r219"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r7",
      "r23",
      "r219"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Cash flow hedges",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r312"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r313"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Amount of Gain Recognized in OCI",
        "terseLabel": "Unrealized holding gains arising during the period",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification and Tax",
        "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": [
      "r308",
      "r312",
      "r643",
      "r644",
      "r649"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r265",
      "r312",
      "r315"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
      "http://www.bylinebank.com/20240630/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",
        "totalLabel": "Total other comprehensive income (loss)",
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity."
       }
      }
     },
     "auth_ref": [
      "r7",
      "r23",
      "r219",
      "r317",
      "r320"
     ]
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r309",
      "r312",
      "r452"
     ]
    },
    "us-gaap_OtherCostAndExpenseOperating": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherCostAndExpenseOperating",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Other non-interest expenses",
        "label": "Other Cost and Expense, Operating",
        "documentation": "The total amount of other operating cost and expense items that are associated with the entity's normal revenue producing operation."
       }
      }
     },
     "auth_ref": [
      "r191",
      "r829"
     ]
    },
    "us-gaap_OtherCreditDerivativesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherCreditDerivativesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherInterestAndDividendIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r244"
     ]
    },
    "by_OtherInterestRateDerivativesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "OtherInterestRateDerivativesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "OtherLiabilitiesDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r52"
     ]
    },
    "us-gaap_OtherNoninterestExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherNoninterestExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r242"
     ]
    },
    "us-gaap_OtherRealEstateAndForeclosedAssets": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "OtherRealEstateAndForeclosedAssets",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r162"
     ]
    },
    "by_OtherRealEstateOwnedPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "OtherRealEstateOwnedPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "OtherRealEstateValuationAdjustments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "OtherSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r43"
     ]
    },
    "by_OutstandingCommercialAndIndustrialLoansPercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "OutstandingCommercialAndIndustrialLoansPercentage",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding commercial and industrial loans percentage.",
        "label": "Outstanding Commercial and Industrial Loans Percentage",
        "terseLabel": "Percentage of outstanding commercial and industrial loans"
       }
      }
     },
     "auth_ref": []
    },
    "by_OwnerOccupiedCommercialMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "OwnerOccupiedCommercialMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "PassMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r83",
      "r1179"
     ]
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r84",
      "r85",
      "r1061",
      "r1178"
     ]
    },
    "by_PaycheckProtectionProgramLiquidityFacility": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "PaycheckProtectionProgramLiquidityFacility",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "PaycheckProtectionProgramPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "PaymentDeferralMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r411",
      "r412",
      "r414"
     ]
    },
    "by_PaymentsForOriginationsOfUSGovernmentGuaranteedLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "PaymentsForOriginationsOfUSGovernmentGuaranteedLoans",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "PaymentsForProceedsFromFederalHomeLoanBankStock",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Redemptions (purchases) of Federal Home Loan Bank stock, net",
        "label": "Payments for (Proceeds from) Federal Home Loan Bank Stock",
        "totalLabel": "Payments for (Proceeds from) Federal Home Loan Bank Stock, Total",
        "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/2023",
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Net change in loans and leases",
        "label": "Payments for (Proceeds from) Loans and Leases",
        "totalLabel": "Payments for (Proceeds from) Loans and Leases, Total",
        "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": [
      "r804"
     ]
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfDividendsCommonStock",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r69"
     ]
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsOfStockIssuanceCosts",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r68"
     ]
    },
    "us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsRelatedToTaxWithholdingForShareBasedCompensation",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r331"
     ]
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r65",
      "r329",
      "r419"
     ]
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquireBusinessesGross",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r66",
      "r636"
     ]
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r194"
     ]
    },
    "by_PercentageOfShareholdersEquityForWhichSecuritiesHoldingsExceedsForNoIssuerOtherThanUSGovernmentAndAgencies": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "PercentageOfShareholdersEquityForWhichSecuritiesHoldingsExceedsForNoIssuerOtherThanUSGovernmentAndAgencies",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "PerformanceBasedRestrictedSharesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "PerformanceOptionsGrantsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Performance Options Grants",
        "label": "Performance Options Grants [Member]",
        "documentation": "Performance options grants."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PerformanceSharesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PerformanceSharesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_PlanNameAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PlanNameAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223"
     ]
    },
    "us-gaap_PlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PlanNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223"
     ]
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r692"
     ]
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockDividendRatePercentage",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock, dividend rate, percentage",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock."
       }
      }
     },
     "auth_ref": [
      "r541",
      "r940",
      "r959",
      "r963",
      "r1006"
     ]
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Dividends on preferred shares",
        "label": "Preferred Stock Dividends, Income Statement Impact",
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders."
       }
      }
     },
     "auth_ref": []
    },
    "by_PreferredStockFixedDividendCloseDate": {
     "xbrltype": "dateItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "PreferredStockFixedDividendCloseDate",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock fixed dividend close date",
        "label": "Preferred Stock Fixed Dividend Close Date",
        "documentation": "Preferred stock fixed dividend close date."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockLiquidationPreference",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock, liquidation preference per share",
        "label": "Preferred Stock, Liquidation Preference Per Share",
        "documentation": "The per share liquidation preference (or restrictions) of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share."
       }
      }
     },
     "auth_ref": [
      "r106",
      "r107",
      "r178",
      "r1134",
      "r1193"
     ]
    },
    "us-gaap_PreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred Stock",
        "label": "Preferred Stock [Member]",
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company."
       }
      }
     },
     "auth_ref": [
      "r1084",
      "r1085",
      "r1088",
      "r1089",
      "r1090",
      "r1093",
      "r1257",
      "r1261"
     ]
    },
    "us-gaap_PreferredStockNoParValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockNoParValue",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r178",
      "r1192"
     ]
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockParOrStatedValuePerShare",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r178",
      "r540"
     ]
    },
    "us-gaap_PreferredStockRedemptionPricePerShare": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockRedemptionPricePerShare",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Preferred stock redemption price per share",
        "label": "Preferred Stock, Redemption Price Per Share",
        "documentation": "The price per share at which the preferred stock of an entity that has priority over common stock in the distribution of dividends and in the event of liquidation of the entity is redeemed or may be called at. The redemption features of this preferred stock are solely within the control of the issuer."
       }
      }
     },
     "auth_ref": [
      "r105",
      "r106",
      "r109"
     ]
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesAuthorized",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r178",
      "r890"
     ]
    },
    "us-gaap_PreferredStockSharesIssued": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesIssued",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/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": "Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt."
       }
      }
     },
     "auth_ref": [
      "r178",
      "r540"
     ]
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockSharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r178",
      "r890",
      "r909",
      "r1261",
      "r1262"
     ]
    },
    "us-gaap_PreferredStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PreferredStockValue",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r178",
      "r816",
      "r1081"
     ]
    },
    "us-gaap_PrimeRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrimeRateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_PrincipalAmountOutstandingOfLoansHeldInPortfolio": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrincipalAmountOutstandingOfLoansHeldInPortfolio",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r44"
     ]
    },
    "us-gaap_PrincipalAmountOutstandingOfLoansHeldInPortfolioAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PrincipalAmountOutstandingOfLoansHeldInPortfolioAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Loan portfolios serviced for:",
        "label": "Loan, Held-in-Portfolio, Principal Outstanding [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_ProceedsFromBankTermFundingProgramAdvances": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProceedsFromBankTermFundingProgramAdvances",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from bank term funding program advances.",
        "label": "Proceeds from Bank Term Funding Program Advances",
        "terseLabel": "Proceeds from BTFP advances"
       }
      }
     },
     "auth_ref": []
    },
    "by_ProceedsFromInternallyFinancedSaleOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProceedsFromInternallyFinancedSaleOfOtherRealEstate",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r6"
     ]
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r329",
      "r330",
      "r1157"
     ]
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r64",
      "r1157"
     ]
    },
    "by_ProceedsFromOtherLoansSold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProceedsFromOtherLoansSold",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from other loans sold.",
        "label": "Proceeds From Other Loans Sold",
        "terseLabel": "Proceeds from other loans sold"
       }
      }
     },
     "auth_ref": []
    },
    "by_ProceedsFromPaydownsOfSecuritiesAvailableForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProceedsFromPaydownsOfSecuritiesAvailableForSale",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Proceeds from (Payments for) in Securities Sold under Agreements to Repurchase",
        "terseLabel": "Net increase (decrease) in securities sold under agreements to repurchase",
        "documentation": "The cash flow from investments sold under the agreement to repurchase such investment."
       }
      }
     },
     "auth_ref": [
      "r72",
      "r73"
     ]
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds",
        "label": "Proceeds from Sale of Debt Securities, Available-for-Sale",
        "verboseLabel": "Sale of securities",
        "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": [
      "r64",
      "r329",
      "r419",
      "r451"
     ]
    },
    "us-gaap_ProceedsFromSaleOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfOtherRealEstate",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r63"
     ]
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sales of premises and equipment",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "totalLabel": "Proceeds from Sale of Property, Plant, and Equipment, Total",
        "documentation": "The cash inflow from the sale of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale."
       }
      }
     },
     "auth_ref": [
      "r193"
     ]
    },
    "by_ProceedsFromSalesOfAssetsHeldForSale": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProceedsFromSalesOfAssetsHeldForSale",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from sales of assets held for sale",
        "label": "Proceeds From Sales Of Assets Held For Sale",
        "documentation": "Proceeds from sales of assets held for sale."
       }
      }
     },
     "auth_ref": []
    },
    "by_ProceedsFromSalesOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProceedsFromSalesOfOtherRealEstate",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ProceedsFromShortTermDebt",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r67"
     ]
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProceedsFromStockOptionsExercised",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Proceeds from exercise of stock options",
        "label": "Proceeds from Stock Options Exercised",
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r6",
      "r32"
     ]
    },
    "by_ProceedsFromUSGovernmentGuaranteedLoansSold": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProceedsFromUSGovernmentGuaranteedLoansSold",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ProductOrServiceAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Product and Service",
        "label": "Product and Service [Axis]"
       }
      }
     },
     "auth_ref": [
      "r398",
      "r793",
      "r831",
      "r832",
      "r833",
      "r834",
      "r835",
      "r836",
      "r1042",
      "r1071",
      "r1082",
      "r1113",
      "r1186",
      "r1187",
      "r1195",
      "r1255"
     ]
    },
    "srt_ProductsAndServicesDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ProductsAndServicesDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Product and Service",
        "label": "Product and Service [Domain]"
       }
      }
     },
     "auth_ref": [
      "r398",
      "r793",
      "r831",
      "r832",
      "r833",
      "r834",
      "r835",
      "r836",
      "r1042",
      "r1071",
      "r1082",
      "r1113",
      "r1186",
      "r1187",
      "r1195",
      "r1255"
     ]
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "PropertyPlantAndEquipmentNet",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r11",
      "r812",
      "r821",
      "r1081"
     ]
    },
    "by_ProvisionForCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProvisionForCreditLosses",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_ProvisionForLoanAndLeaseLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProvisionForLoanAndLeaseLosses",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Provision for Loan and Lease Losses",
        "totalLabel": "Provision for Loan and Lease Losses, Total",
        "verboseLabel": "Provision/(recapture) for credit losses",
        "terseLabel": "Provision for credit losses",
        "documentation": "Amount of expense related to estimated loss from loan and lease transactions."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r18",
      "r237"
     ]
    },
    "us-gaap_ProvisionForLoanLeaseAndOtherLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProvisionForLoanLeaseAndOtherLosses",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Provision/(recapture) for credit losses",
        "label": "Provision for Loan, Lease, and Other Losses",
        "totalLabel": "Provision for Loan, Lease, and Other Losses, Total",
        "documentation": "Amount of expense related loan transactions, lease transactions, credit loss from transactions other than loan and lease transactions, and other loss based on assessment of uncollectability from the counterparty to reduce the account to their net realizable value."
       }
      }
     },
     "auth_ref": [
      "r8",
      "r18",
      "r237"
     ]
    },
    "us-gaap_ProvisionForOtherCreditLosses": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ProvisionForOtherCreditLosses",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r8",
      "r231"
     ]
    },
    "by_ProvisionRecaptureForUnfundedCommitments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ProvisionRecaptureForUnfundedCommitments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Recapture for unfunded commitments",
        "documentation": "Provision recapture for unfunded commitments.",
        "label": "Provision Recapture for Unfunded Commitments",
        "terseLabel": "Provision/(recapture) for/of unfunded commitments"
       }
      }
     },
     "auth_ref": []
    },
    "by_PublicFundDepositsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "PublicFundDepositsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "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/20240630",
     "localname": "PurchaseCreditDeterioratedMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchase Credit Deteriorated.",
        "label": "Purchase Credit Deteriorated [Member]",
        "terseLabel": "Purchased Credit Deteriorated"
       }
      }
     },
     "auth_ref": []
    },
    "by_PurchasedCreditDeterioratedLoanMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "PurchasedCreditDeterioratedLoanMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Purchased credit deteriorated Loan.",
        "label": "Purchased Credit Deteriorated Loan [Member]",
        "terseLabel": "Purchased Credit Deteriorated Loan"
       }
      }
     },
     "auth_ref": []
    },
    "srt_RangeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "label": "Statistical Measurement [Axis]"
       }
      }
     },
     "auth_ref": [
      "r507",
      "r508",
      "r509",
      "r510",
      "r558",
      "r565",
      "r595",
      "r596",
      "r597",
      "r751",
      "r792",
      "r837",
      "r879",
      "r880",
      "r939",
      "r958",
      "r964",
      "r965",
      "r1005",
      "r1039",
      "r1040",
      "r1052",
      "r1070",
      "r1077",
      "r1083",
      "r1086",
      "r1183",
      "r1190",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244"
     ]
    },
    "srt_RangeMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "RangeMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statistical Measurement",
        "label": "Statistical Measurement [Domain]"
       }
      }
     },
     "auth_ref": [
      "r507",
      "r508",
      "r509",
      "r510",
      "r558",
      "r565",
      "r595",
      "r596",
      "r597",
      "r751",
      "r792",
      "r837",
      "r879",
      "r880",
      "r939",
      "r958",
      "r964",
      "r965",
      "r1005",
      "r1039",
      "r1040",
      "r1052",
      "r1070",
      "r1077",
      "r1083",
      "r1086",
      "r1183",
      "r1190",
      "r1240",
      "r1241",
      "r1242",
      "r1243",
      "r1244"
     ]
    },
    "us-gaap_RealEstateAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RealEstateAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RealEstateLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RealEstateLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1039"
     ]
    },
    "us-gaap_RealEstateOwnedTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RealEstateOwnedTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1148"
     ]
    },
    "us-gaap_RealEstateTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RealEstateTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1039"
     ]
    },
    "us-gaap_ReceivablesAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ReceivablesAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RepaymentsOfLinesOfCredit",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Repayments of Lines of Credit",
        "negatedLabel": "Repayments of line of credit",
        "documentation": "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements."
       }
      }
     },
     "auth_ref": [
      "r70",
      "r1135"
     ]
    },
    "us-gaap_RepaymentsOfShortTermDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RepaymentsOfShortTermDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r70"
     ]
    },
    "by_RepaymentsOfTermLoan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "RepaymentsOfTermLoan",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "RepurchaseAgreementsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "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/20240630",
     "localname": "RequiredInvestmentInFederalHomeLoanBankConversionRatio",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_ReserveForUnfundedCommitments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ReserveForUnfundedCommitments",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Reserve for unfunded commitments",
        "label": "Reserve For Unfunded Commitments",
        "documentation": "Reserve for unfunded commitments.",
        "periodStartLabel": "Beginning balance",
        "periodEndLabel": "Ending balance"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1158",
      "r1160",
      "r1165",
      "r1166",
      "r1167",
      "r1197"
     ]
    },
    "us-gaap_ResidentialPortfolioSegmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ResidentialPortfolioSegmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowa2",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_ResidentialRealEstateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ResidentialRealEstateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1052",
      "r1058",
      "r1197"
     ]
    },
    "us-gaap_RestrictedInvestments": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedInvestments",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1027",
      "r1028"
     ]
    },
    "us-gaap_RestrictedStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RestrictedStockMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r79"
     ]
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RetainedEarningsAccumulatedDeficit",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r181",
      "r212",
      "r819",
      "r844",
      "r849",
      "r855",
      "r891",
      "r1081"
     ]
    },
    "us-gaap_RetainedEarningsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RetainedEarningsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Retained Earnings",
        "label": "Retained Earnings [Member]",
        "documentation": "Accumulated undistributed earnings (deficit)."
       }
      }
     },
     "auth_ref": [
      "r288",
      "r343",
      "r344",
      "r345",
      "r350",
      "r358",
      "r360",
      "r457",
      "r465",
      "r604",
      "r605",
      "r606",
      "r616",
      "r617",
      "r653",
      "r655",
      "r656",
      "r660",
      "r672",
      "r840",
      "r842",
      "r857",
      "r1261"
     ]
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r386",
      "r387",
      "r390",
      "r393",
      "r394",
      "r398",
      "r399",
      "r400",
      "r556",
      "r557",
      "r793"
     ]
    },
    "us-gaap_RevolvingCreditFacilityMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "RevolvingCreditFacilityMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "RidgeStoneCapitalTrustIMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "RidgestoneMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r731",
      "r1080"
     ]
    },
    "by_RiskRatingsForLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "RiskRatingsForLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Risk ratings for loans.",
        "label": "Risk Ratings for Loans",
        "terseLabel": "Risk ratings for loans"
       }
      }
     },
     "auth_ref": []
    },
    "by_SBAGuaranteedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "SBAGuaranteedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "srt_ScenarioForecastMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScenarioForecastMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]",
        "terseLabel": "Forecast"
       }
      }
     },
     "auth_ref": [
      "r566",
      "r1142"
     ]
    },
    "srt_ScenarioUnspecifiedDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "ScenarioUnspecifiedDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "auth_ref": [
      "r361",
      "r566",
      "r1108",
      "r1142"
     ]
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformation1Details",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonimpairedLoansA",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Accounts Notes Loans And Financing Receivable [Table]",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]",
        "documentation": "Schedule itemizing specific 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": [
      "r59"
     ]
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r59"
     ]
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r61",
      "r1232",
      "r1233"
     ]
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfAvailableForSaleSecuritiesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432"
     ]
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValueAndGrossContractualAmountsReceivableAndRespectiveExpectedContractualCashFlowsDetail",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessSummaryOfFairValuesOfAssetsAcquiredAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]",
        "documentation": "Schedule reflecting each material business combination (or series of individually immaterial business combinations) completed during the period, including background, timing, and recognized assets and liabilities."
       }
      }
     },
     "auth_ref": [
      "r121",
      "r122",
      "r631"
     ]
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Fair Value and Gross Contractual Amounts Receivable and Respective Expected Contractual Cash Flows",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table Text Block]",
        "documentation": "Tabular disclosure of a material business combination completed during the period, including background, timing, and recognized assets and liabilities. This table does not include leveraged buyouts."
       }
      }
     },
     "auth_ref": [
      "r121",
      "r122"
     ]
    },
    "us-gaap_ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations Relating to Cash Flow Derivative Instruments",
        "label": "Schedule of Cash Flow Hedges Included in Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "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": [
      "r141"
     ]
    },
    "by_ScheduleOfCashFlowHedgesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ScheduleOfCashFlowHedgesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ScheduleOfCertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAndCarryingAmountTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleOfDebtTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ScheduleOfDepositsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1144"
     ]
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEarningsPerShareBasicByCommonClassTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Earnings Per Share Basic By Common Class [Table]",
        "label": "Schedule of Earnings Per Share, Basic, by Common Class, Including Two Class Method [Table]",
        "documentation": "The table contains disclosure pertaining to an entity's basic earnings per share."
       }
      }
     },
     "auth_ref": [
      "r78",
      "r80",
      "r367",
      "r371",
      "r374"
     ]
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Table]",
        "label": "Share-Based Payment Arrangement, Expensed and Capitalized, Amount [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": [
      "r115"
     ]
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r115"
     ]
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r680",
      "r681"
     ]
    },
    "us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r140"
     ]
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfAllowanceForCreditLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfCollateralDependentLoansAndLeasesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r282",
      "r1177"
     ]
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Financing Receivable Recorded Investment Credit Quality Indicator [Table]",
        "label": "Financing Receivable, Credit Quality Indicator [Table]",
        "documentation": "Disclosure of information about credit quality indicator for financing receivable."
       }
      }
     },
     "auth_ref": [
      "r1060",
      "r1179"
     ]
    },
    "us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfTdrsByLoanCategoryDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Financing Receivable Troubled Debt Restructurings [Table]",
        "label": "Financing Receivable, Modified [Table]",
        "documentation": "Disclosure of information about financing receivable modified for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r407",
      "r408",
      "r411",
      "r412",
      "r1052"
     ]
    },
    "us-gaap_ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ScheduleOfGoodwillAndIntangibleAssetsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ScheduleOfGoodwillAndIntangibleAssetsTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleOfHeldToMaturitySecuritiesLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450"
     ]
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfHeldToMaturitySecuritiesTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450"
     ]
    },
    "us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r91"
     ]
    },
    "by_ScheduleOfInterestRateDerivativesAndOffsettingPositionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ScheduleOfInterestRateDerivativesAndOffsettingPositionsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleOfInvestmentsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r936",
      "r937",
      "r938",
      "r939",
      "r940",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r948",
      "r949",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r961",
      "r962",
      "r963",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972",
      "r973",
      "r974",
      "r975",
      "r976",
      "r977",
      "r978",
      "r979",
      "r980",
      "r981",
      "r982",
      "r983",
      "r984",
      "r996",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1001",
      "r1002",
      "r1003",
      "r1004",
      "r1005",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1011",
      "r1012",
      "r1013",
      "r1014"
     ]
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfInvestmentsTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r936",
      "r937",
      "r938",
      "r939",
      "r940",
      "r941",
      "r942",
      "r943",
      "r944",
      "r945",
      "r946",
      "r947",
      "r948",
      "r949",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r961",
      "r962",
      "r963",
      "r964",
      "r965",
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972",
      "r973",
      "r974",
      "r975",
      "r976",
      "r977",
      "r978",
      "r979",
      "r980",
      "r981",
      "r982",
      "r983",
      "r984",
      "r996",
      "r997",
      "r998",
      "r1000",
      "r1001",
      "r1002",
      "r1003",
      "r1004",
      "r1005",
      "r1006",
      "r1007",
      "r1008",
      "r1009",
      "r1010",
      "r1011",
      "r1012",
      "r1013",
      "r1014"
     ]
    },
    "by_ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r142",
      "r1112"
     ]
    },
    "by_ScheduleOfOtherInterestRateDerivativesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ScheduleOfOtherInterestRateDerivativesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleOfQuarterlyFinancialInformationTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r263"
     ]
    },
    "us-gaap_ScheduleOfRealEstatePropertiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRealEstatePropertiesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureAcquisitionOfABusinessTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Fair Values of Assets Acquired and Liabilities Assumed as of Acquisition Date",
        "label": "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]",
        "documentation": "Tabular disclosure of the amounts recognized as of the acquisition date for each major class of assets acquired and liabilities assumed. May include but not limited to the following: (a) acquired receivables; (b) contingencies recognized at the acquisition date; and (c) the fair value of noncontrolling interests in the acquiree."
       }
      }
     },
     "auth_ref": [
      "r217"
     ]
    },
    "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfServicingAssetsAtFairValueTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1246"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r568",
      "r570",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r114"
     ]
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r30",
      "r31",
      "r114"
     ]
    },
    "us-gaap_ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfShareBasedPaymentAwardStockOptionsValuationAssumptionsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r214"
     ]
    },
    "us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfSharesSubjectToMandatoryRedemptionTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Shares Subject To Mandatory Redemption [Table]",
        "label": "Schedule of Financial Instruments Subject to Mandatory Redemption [Table]",
        "documentation": "Schedule of the description and the details of all terms for each outstanding financial instrument and each settlement option, including: a. The amount that would be paid, or the number of shares that would be issued and their fair value, determined under the conditions specified in the contract if the settlement were to occur at the reporting date b. How changes in the fair value of the issuer's equity shares would affect those settlement amounts (for example, \"the issuer is obligated to issue an additional x shares or pay an additional y dollars in cash for each $1 decrease in the fair value of one share\") c. The maximum amount that the issuer could be required to pay to redeem the instrument by physical settlement, if applicable d. The maximum number of shares that could be required to be issued, if applicable e. That a contract does not limit the amount that the issuer could be required to pay or the number of shares that the issuer could be required to issue, if applicable f. For a forward contract or an option indexed to the issuer's equity shares, the forward price or option strike price, the number of issuer's shares to which the contract is indexed, and the settlement date or dates of the contract, as applicable. g. The components of the liability that would otherwise be related to shareholders' interest and other comprehensive income (if any) subject to the redemption feature (for example, par value and other paid in amounts of mandatorily redeemable instruments is disclosed separately from the amount of retained earnings or accumulated deficit)."
       }
      }
     },
     "auth_ref": [
      "r13",
      "r25",
      "r100"
     ]
    },
    "by_ScheduleOfShortTermDebtAvailableForUseTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleOfStockByClassTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Schedule Of Stock By Class [Table]",
        "label": "Schedule of Stock by Class [Table]",
        "documentation": "Schedule detailing information related to equity by class of stock. Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer. It also 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."
       }
      }
     },
     "auth_ref": [
      "r102",
      "r103",
      "r104",
      "r106",
      "r107",
      "r108",
      "r110",
      "r210",
      "r211",
      "r212",
      "r299",
      "r300",
      "r301",
      "r383",
      "r540",
      "r541",
      "r542",
      "r544",
      "r547",
      "r552",
      "r554",
      "r851",
      "r852",
      "r853",
      "r854",
      "r1070",
      "r1107",
      "r1134"
     ]
    },
    "us-gaap_ScheduleOfStockByClassTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ScheduleOfStockByClassTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r48",
      "r101",
      "r103",
      "r104",
      "r106",
      "r107",
      "r108",
      "r110",
      "r178",
      "r179",
      "r210",
      "r211",
      "r212"
     ]
    },
    "by_ScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r96"
     ]
    },
    "by_SecuredOvernightFinancingRatePlusSpreadAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "SecuredOvernightFinancingRatePlusSpreadAdjustmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SOFR + spread adjustment",
        "label": "Secured Overnight Financing Rate Plus Spread Adjustment [Member]",
        "documentation": "Secured overnight financing rate plus spread adjustment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecuredOvernightFinancingRateSofrOvernightIndexSwapRateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1227"
     ]
    },
    "us-gaap_SecuritiesReceivedAsCollateralAmountForeclosed": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecuritiesReceivedAsCollateralAmountForeclosed",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Net additions to OREO",
        "label": "Securities Received as Collateral, Amount Foreclosed",
        "documentation": "The fair value of collateral received that was taken through foreclosure due to default by the original transferor in lieu of collection of the secured receivable."
       }
      }
     },
     "auth_ref": [
      "r81"
     ]
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r164",
      "r306",
      "r307",
      "r340",
      "r341",
      "r939",
      "r958",
      "r965",
      "r1005"
     ]
    },
    "dei_Security12bTitle": {
     "xbrltype": "securityTitleItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "Security12bTitle",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1099"
     ]
    },
    "dei_SecurityExchangeName": {
     "xbrltype": "edgarExchangeCodeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "SecurityExchangeName",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1101"
     ]
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SeriesBPreferredStockMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1126",
      "r1127",
      "r1194"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueAdditions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtFairValueAdditions",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r775"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtFairValueAmount",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r768",
      "r769",
      "r770",
      "r774"
     ]
    },
    "us-gaap_ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1247"
     ]
    },
    "us-gaap_ServicingAssetMeasurementInput": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetMeasurementInput",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r684"
     ]
    },
    "us-gaap_ServicingAssetValuationTechniqueExtensibleList": {
     "xbrltype": "enumerationSetItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ServicingAssetValuationTechniqueExtensibleList",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r683"
     ]
    },
    "by_ServicingAssetsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ServicingAssetsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ShareBasedCompensation",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r8"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1078"
     ]
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardEarnedUnderReturnOnAverageAssetsInPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEarnedUnderReturnOnAverageAssetsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestGrantsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r589"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r589"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r587"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r587"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r584",
      "r585"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r584",
      "r585"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r588"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r591"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r588"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r595"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r597"
     ]
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r568",
      "r570",
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r113"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r578"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r578"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r591"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r583"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r580"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r113"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r576",
      "r577"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r576",
      "r577"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Award Type",
        "label": "All Award Types",
        "documentation": "Award under share-based payment arrangement."
       }
      }
     },
     "auth_ref": [
      "r573",
      "r574",
      "r575",
      "r576",
      "r577",
      "r578",
      "r579",
      "r580",
      "r581",
      "r582",
      "r583",
      "r584",
      "r585",
      "r586",
      "r587",
      "r588",
      "r589",
      "r590",
      "r591",
      "r592",
      "r593",
      "r594",
      "r595",
      "r596",
      "r597",
      "r598"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r581"
     ]
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "xbrltype": "perShareItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r583"
     ]
    },
    "us-gaap_ShareBasedCompensationAwardTrancheOneMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShareBasedCompensationAwardTrancheOneMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1079"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSharebasedCompensationSummaryOfFairValueOfTheTotalStockReturnPerformancebasedAwardsGrantedDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r594"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r113"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r113"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "xbrltype": "durationItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r213"
     ]
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_SharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "periodStartLabel": "Beginning balance, shares",
        "periodEndLabel": "Ending 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/2023",
     "localname": "SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_ShortTermBorrowings": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShortTermBorrowings",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Term Loan",
        "label": "Short-Term Debt",
        "totalLabel": "Short-Term Debt, Total",
        "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": [
      "r175",
      "r226",
      "r1081",
      "r1252"
     ]
    },
    "us-gaap_ShortTermDebtPercentageBearingVariableInterestRate": {
     "xbrltype": "percentItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "ShortTermDebtPercentageBearingVariableInterestRate",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "ShortTermLeaseCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r728",
      "r1080"
     ]
    },
    "by_ShortTermLinesOfCreditAvailableForUse": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ShortTermLinesOfCreditAvailableForUse",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SingleFamilyResidence1stLienMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SingleFamilyResidence2ndLienMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SingleIssuerTrustPreferredSecurityMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "SpecialMentionMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r83",
      "r1179"
     ]
    },
    "us-gaap_StateAndLocalJurisdictionMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StateAndLocalJurisdictionMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "State and Local Jurisdiction [Member]",
        "terseLabel": "State and Local Jurisdiction",
        "documentation": "Designated tax department of a state or local government entitled to levy and collect income taxes from the entity."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_StatementClassOfStockAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementClassOfStockAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Class of Stock",
        "label": "Class of Stock [Axis]",
        "documentation": "Information by the different classes of stock of the entity."
       }
      }
     },
     "auth_ref": [
      "r273",
      "r299",
      "r300",
      "r301",
      "r338",
      "r367",
      "r371",
      "r374",
      "r376",
      "r383",
      "r384",
      "r453",
      "r511",
      "r513",
      "r514",
      "r515",
      "r518",
      "r519",
      "r540",
      "r541",
      "r544",
      "r547",
      "r554",
      "r694",
      "r851",
      "r852",
      "r853",
      "r854",
      "r857",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862",
      "r863",
      "r864",
      "r865",
      "r866",
      "r867",
      "r868",
      "r890",
      "r912",
      "r931",
      "r1019",
      "r1020",
      "r1021",
      "r1022",
      "r1023",
      "r1107",
      "r1134",
      "r1143"
     ]
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementEquityComponentsAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Equity Components",
        "label": "Equity Components [Axis]",
        "documentation": "Information by component of equity."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r58",
      "r288",
      "r321",
      "r322",
      "r323",
      "r343",
      "r344",
      "r345",
      "r350",
      "r358",
      "r360",
      "r382",
      "r457",
      "r465",
      "r555",
      "r604",
      "r605",
      "r606",
      "r616",
      "r617",
      "r653",
      "r654",
      "r655",
      "r656",
      "r657",
      "r660",
      "r672",
      "r703",
      "r704",
      "r705",
      "r706",
      "r707",
      "r708",
      "r740",
      "r840",
      "r841",
      "r842",
      "r857",
      "r931"
     ]
    },
    "us-gaap_StatementLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementLineItems",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20240630/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": [
      "r343",
      "r344",
      "r345",
      "r382",
      "r793",
      "r850",
      "r868",
      "r881",
      "r883",
      "r884",
      "r885",
      "r886",
      "r887",
      "r890",
      "r893",
      "r894",
      "r895",
      "r896",
      "r897",
      "r899",
      "r900",
      "r901",
      "r902",
      "r904",
      "r905",
      "r906",
      "r907",
      "r908",
      "r910",
      "r913",
      "r914",
      "r917",
      "r918",
      "r919",
      "r920",
      "r921",
      "r922",
      "r923",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r931",
      "r1087"
     ]
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "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/2023",
     "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/2023",
     "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/2023",
     "localname": "StatementOfStockholdersEquityAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "srt_StatementScenarioAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "StatementScenarioAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "auth_ref": [
      "r361",
      "r566",
      "r1108",
      "r1109",
      "r1142"
     ]
    },
    "us-gaap_StatementTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StatementTable",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Statement [Table]",
        "label": "Statement [Table]",
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed."
       }
      }
     },
     "auth_ref": [
      "r343",
      "r344",
      "r345",
      "r382",
      "r793",
      "r850",
      "r868",
      "r881",
      "r883",
      "r884",
      "r885",
      "r886",
      "r887",
      "r890",
      "r893",
      "r894",
      "r895",
      "r896",
      "r897",
      "r899",
      "r900",
      "r901",
      "r902",
      "r904",
      "r905",
      "r906",
      "r907",
      "r908",
      "r910",
      "r913",
      "r914",
      "r917",
      "r918",
      "r919",
      "r920",
      "r921",
      "r922",
      "r923",
      "r924",
      "r925",
      "r926",
      "r927",
      "r928",
      "r931",
      "r1087"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r26",
      "r178",
      "r179",
      "r212"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardGross",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Restricted stock activity, shares",
        "terseLabel": "Restricted stock activity, shares",
        "label": "Stock Issued During Period, Shares, Restricted Stock Award, Gross",
        "documentation": "Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r212"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r26",
      "r178",
      "r179",
      "r212",
      "r581"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r26",
      "r178",
      "r179",
      "r212"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardGross",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Restricted stock activity, net",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Gross",
        "documentation": "Aggregate value of stock related to Restricted Stock Awards issued during the period."
       }
      }
     },
     "auth_ref": [
      "r26",
      "r178",
      "r179",
      "r212"
     ]
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r26",
      "r58",
      "r212"
     ]
    },
    "us-gaap_StockOptionPlanExpense": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockOptionPlanExpense",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r9"
     ]
    },
    "us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Aggregate number of shares authorized to repurchase",
        "label": "Stock Repurchase Program, Number of Shares Authorized to be Repurchased",
        "documentation": "The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan."
       }
      }
     },
     "auth_ref": []
    },
    "by_StockRepurchaseProgramPercentOfSharesAuthorizedToBeRepurchased": {
     "xbrltype": "percentItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "StockRepurchaseProgramPercentOfSharesAuthorizedToBeRepurchased",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "StockRepurchasedDuringPeriodShares",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "negatedLabel": "Repurchase of common stock, shares",
        "verboseLabel": "Number of shares purchased",
        "label": "Stock Repurchased During Period, 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": [
      "r26",
      "r178",
      "r179",
      "r212",
      "r854",
      "r931",
      "r1022"
     ]
    },
    "us-gaap_StockholdersEquity": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquity",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED",
      "http://www.bylinebank.com/20240630/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": [
      "r179",
      "r182",
      "r183",
      "r200",
      "r892",
      "r909",
      "r932",
      "r933",
      "r1081",
      "r1098",
      "r1136",
      "r1173",
      "r1231",
      "r1261"
     ]
    },
    "us-gaap_StockholdersEquityAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "StockholdersEquityAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquity"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Stockholders' Equity",
        "label": "Equity [Text Block]",
        "documentation": "The entire disclosure for equity."
       }
      }
     },
     "auth_ref": [
      "r209",
      "r337",
      "r539",
      "r541",
      "r543",
      "r544",
      "r545",
      "r546",
      "r547",
      "r548",
      "r549",
      "r550",
      "r551",
      "r553",
      "r555",
      "r662",
      "r934",
      "r935",
      "r1024"
     ]
    },
    "by_SubleaseContractExpirationPeriod": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "SubleaseContractExpirationPeriod",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "SubleaseIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r730",
      "r1080"
     ]
    },
    "us-gaap_SubordinatedDebt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubordinatedDebt",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r47",
      "r176",
      "r227",
      "r1253"
     ]
    },
    "us-gaap_SubordinatedDebtMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubordinatedDebtMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "SubsequentEventMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "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": [
      "r709",
      "r742"
     ]
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "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": [
      "r709",
      "r742"
     ]
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubsequentEventTypeDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "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": [
      "r709",
      "r742"
     ]
    },
    "us-gaap_SubstandardMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SubstandardMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfContractualDelinquencyInformationParentheticalDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r83",
      "r1179"
     ]
    },
    "us-gaap_SummaryInvestmentHoldingsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "SummaryInvestmentHoldingsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SummaryOfChangeInBalanceForAllowanceForCreditLossesUnfundedCommitmentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_SummaryOfChangesInAccretableYieldForAcquiredImpairmentLoansTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "SummaryOfChangesInAccretableYieldForAcquiredImpairmentLoansTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Changes in Accretable Yield for Acquired Impaired Loans",
        "label": "Summary Of Changes In Accretable Yield For Acquired Impairment Loans Table [Text Block]",
        "documentation": "Summary of changes in accretable yield for acquired impairment loans."
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfCollateralDependentLoansAndLeasesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "SummaryOfCollateralDependentLoansAndLeasesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_SummaryOfLoansModifiedAsTroubledDebtRestructuringsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "SummaryOfLoansModifiedAsTroubledDebtRestructuringsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of Loans Modified as Troubled Debt Restructurings",
        "label": "Summary Of Loans Modified As Troubled Debt Restructurings Table [Text Block]",
        "documentation": "Summary of loans modified as troubled debt restructurings."
       }
      }
     },
     "auth_ref": []
    },
    "by_SummaryOfLoansWithModifiedTermsTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "SummaryOfLoansWithModifiedTermsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SummaryOfReconciliationOfAcquiredInlandPcdLoansBetweenPurchasePriceAndParValueAtAcquisitionTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "SupplementalCashFlowInformationAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:",
        "label": "Supplemental Cash Flow Information [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "by_TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToExerciseOfStockOptions": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToExerciseOfStockOptions",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "verboseLabel": "Net income tax provision related to exercise of stock options",
        "label": "Tax Cuts And Jobs Act Of2017 Incomplete Accounting Provisional Income Tax Expense Benefit Related To Exercise Of Stock Options",
        "documentation": "Tax cuts and jobs act of 2017 incomplete accounting provisional income tax expense (benefit) related to exercise of stock options."
       }
      }
     },
     "auth_ref": []
    },
    "by_TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToVestingOfRestrictedShares": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToVestingOfRestrictedShares",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "TermModificationMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Term modification.",
        "label": "Term Modification [Member]",
        "terseLabel": "Term Modification"
       }
      }
     },
     "auth_ref": []
    },
    "by_TerminatedSwaps": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "TerminatedSwaps",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Terminated swaps.",
        "label": "Terminated Swaps",
        "terseLabel": "Terminated swaps"
       }
      }
     },
     "auth_ref": []
    },
    "by_TerminationPaymentMade": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "TerminationPaymentMade",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Termination payments",
        "label": "Termination Payment Made",
        "documentation": "Termination payment made."
       }
      }
     },
     "auth_ref": []
    },
    "by_ThirdAnniversaryOfGrantDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ThirdAnniversaryOfGrantDateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_ThreeMonthCmeSecuredOvernightFinancingRatePlusTenorSpreadAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ThreeMonthCmeSecuredOvernightFinancingRatePlusTenorSpreadAdjustmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Three-Month CME Secured Overnight Financing Rate Plus Tenor Spread Adjustment",
        "label": "Three Month CME Secured Overnight Financing Rate Plus Tenor Spread Adjustment [Member]",
        "documentation": "Three month CME secured overnight financing rate plus tenor spread adjustment."
       }
      }
     },
     "auth_ref": []
    },
    "by_ThreeMonthLondonInterbankOfferedRateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ThreeMonthLondonInterbankOfferedRateMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "ThreeMonthSecuredOvernightFinancingRatePlusFiveEightyEightBasisPointsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_ThreeMonthSofrAndSpreadAdjustmentMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "ThreeMonthSofrAndSpreadAdjustmentMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Three month SOFR and spread adjustment",
        "label": "Three Month SOFR and Spread Adjustment [Member]",
        "documentation": "Three month SOFR and spread adjustment."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TimeDepositMaturitiesAfterYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesAfterYearFive",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r12"
     ]
    },
    "us-gaap_TimeDepositMaturitiesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r12"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearFive": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesYearFive",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Five",
        "terseLabel": "2028",
        "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": [
      "r12"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearFour": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesYearFour",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Four",
        "terseLabel": "2027",
        "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": [
      "r12"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearOne": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesYearOne",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year One",
        "terseLabel": "2024",
        "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": [
      "r12"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearThree": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesYearThree",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Three",
        "terseLabel": "2026",
        "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": [
      "r12"
     ]
    },
    "us-gaap_TimeDepositMaturitiesYearTwo": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDepositMaturitiesYearTwo",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Time Deposit Maturities, Year Two",
        "terseLabel": "2025",
        "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": [
      "r12"
     ]
    },
    "us-gaap_TimeDeposits": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TimeDeposits",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r14",
      "r163"
     ]
    },
    "by_TimeDeposits250000OrMore": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "TimeDeposits250000OrMore",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "TimeDepositsLessThan250000",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "TimeOptionsGrantsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "TotalModifiedByClassMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesSummaryOfLoansWithModifiedTermsDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total modified by class.",
        "label": "Total Modified by Class [Member]",
        "terseLabel": "Total Modified by Class"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TradingSecurities": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TradingSecurities",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r168",
      "r298",
      "r1044"
     ]
    },
    "dei_TradingSymbol": {
     "xbrltype": "tradingSymbolItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2023",
     "localname": "TradingSymbol",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_TransferOfOtherRealEstate": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TransferOfOtherRealEstate",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r75",
      "r76",
      "r77"
     ]
    },
    "us-gaap_TransfersAndServicingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TransfersAndServicingAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers and Servicing [Abstract]"
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_TransfersAndServicingOfFinancialAssetsTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TransfersAndServicingOfFinancialAssetsTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r743",
      "r744",
      "r745",
      "r750",
      "r754",
      "r755",
      "r756",
      "r761",
      "r762",
      "r764",
      "r765",
      "r767",
      "r771",
      "r772",
      "r773",
      "r778",
      "r779",
      "r786",
      "r788",
      "r882",
      "r1245"
     ]
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r450",
      "r536",
      "r552",
      "r661",
      "r744",
      "r745",
      "r746",
      "r747",
      "r748",
      "r749",
      "r751",
      "r752",
      "r753",
      "r757",
      "r758",
      "r759",
      "r760",
      "r763",
      "r766",
      "r774",
      "r775",
      "r776",
      "r777",
      "r780",
      "r781",
      "r782",
      "r783",
      "r784",
      "r785",
      "r786",
      "r787",
      "r789",
      "r790",
      "r791",
      "r825",
      "r1115",
      "r1116",
      "r1117",
      "r1118",
      "r1119",
      "r1120",
      "r1121",
      "r1168",
      "r1169",
      "r1170",
      "r1171"
     ]
    },
    "us-gaap_TreasuryStockCommonMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TreasuryStockCommonMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r111"
     ]
    },
    "us-gaap_TreasuryStockCommonShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TreasuryStockCommonShares",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r111"
     ]
    },
    "us-gaap_TreasuryStockPreferredShares": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TreasuryStockPreferredShares",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r111"
     ]
    },
    "us-gaap_TreasuryStockValue": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TreasuryStockValue",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r57",
      "r111",
      "r112"
     ]
    },
    "us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureLoanAndLeaseReceivablesAndAllowanceForCreditLossesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Summary of TDR's by Loan Category",
        "label": "Financing Receivable, Modified [Table Text Block]",
        "documentation": "Tabular disclosure of financing receivable modified for debtor experiencing financial difficulty."
       }
      }
     },
     "auth_ref": [
      "r1052",
      "r1149",
      "r1150",
      "r1151",
      "r1152"
     ]
    },
    "by_USDAGuaranteedLoansMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "USDAGuaranteedLoansMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1048",
      "r1072",
      "r1251"
     ]
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1072",
      "r1256"
     ]
    },
    "us-gaap_USTreasuryNotesSecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "USTreasuryNotesSecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1251"
     ]
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "USTreasurySecuritiesMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r1048",
      "r1072",
      "r1074",
      "r1251"
     ]
    },
    "by_UnamortizedAccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "UnamortizedAccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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_UnderlyingAssetClassAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnderlyingAssetClassAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "us-gaap_UnderlyingAssetClassDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "UnderlyingAssetClassDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Underlying Asset Class",
        "label": "Underlying Asset Class [Domain]",
        "documentation": "Major types of referenced/underlying asset classes (for example, corporate debt, sovereign debt, and structured finance)."
       }
      }
     },
     "auth_ref": [
      "r145"
     ]
    },
    "by_UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "UnpaidPrincipalBalanceOfPurchasedCreditDeteriorationLoans",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "UnrealizedGainLossOnInvestmentsTableTextBlock",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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",
        "label": "Unrealized Gain (Loss) on Investments [Table Text Block]",
        "documentation": "Tabular disclosure of unrealized gains and losses on investments."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableLeaseCost": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableLeaseCost",
     "crdr": "debit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r729",
      "r1080"
     ]
    },
    "us-gaap_VariableRateAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Variable Rate",
        "label": "Variable Rate [Axis]",
        "documentation": "Information by type of variable rate."
       }
      }
     },
     "auth_ref": []
    },
    "us-gaap_VariableRateDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VariableRateDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceParentheticalDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": []
    },
    "by_VariableRateLoanCommitmentsMaturitiesEndingYear": {
     "xbrltype": "gYearItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "VariableRateLoanCommitmentsMaturitiesEndingYear",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "VestingAxis",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223"
     ]
    },
    "us-gaap_VestingDomain": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "VestingDomain",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r1198",
      "r1199",
      "r1200",
      "r1201",
      "r1202",
      "r1203",
      "r1204",
      "r1205",
      "r1206",
      "r1207",
      "r1208",
      "r1209",
      "r1210",
      "r1211",
      "r1212",
      "r1213",
      "r1214",
      "r1215",
      "r1216",
      "r1217",
      "r1218",
      "r1219",
      "r1220",
      "r1221",
      "r1222",
      "r1223"
     ]
    },
    "by_WatchMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://www.bylinebank.com/20240630",
     "localname": "WatchMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/20240630",
     "localname": "WealthManagementAndTrustIncome",
     "crdr": "credit",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": []
    },
    "srt_WeightedAverageMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fasb.org/srt/2023",
     "localname": "WeightedAverageMember",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "lang": {
      "en-us": {
       "role": {
        "terseLabel": "Weighted Average",
        "label": "Weighted Average [Member]"
       }
      }
     },
     "auth_ref": [
      "r1039",
      "r1040",
      "r1239",
      "r1241",
      "r1244"
     ]
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "xbrltype": "sharesItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "presentation": [
      "http://www.bylinebank.com/20240630/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": [
      "r366",
      "r376"
     ]
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://fasb.org/us-gaap/2023",
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "presentation": [
      "http://www.bylinebank.com/20240630/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/2023",
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "presentation": [
      "http://www.bylinebank.com/20240630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20240630/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": [
      "r364",
      "r376"
     ]
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "1",
   "SubTopic": "20",
   "Topic": "940",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481913/940-20-25-1"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "30",
   "Paragraph": "7",
   "SubTopic": "30",
   "Topic": "805",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479637/805-30-30-7"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "30",
   "Paragraph": "8",
   "SubTopic": "30",
   "Topic": "805",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479637/805-30-30-8"
  },
  "r3": {
   "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/2147481877/830-230-45-1"
  },
  "r4": {
   "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"
  },
  "r5": {
   "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"
  },
  "r6": {
   "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"
  },
  "r7": {
   "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"
  },
  "r8": {
   "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"
  },
  "r9": {
   "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"
  },
  "r10": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "5",
   "SubTopic": "10",
   "Topic": "815",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480463/815-10-45-5"
  },
  "r11": {
   "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"
  },
  "r12": {
   "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"
  },
  "r13": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "SubTopic": "10",
   "Topic": "480",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481648/480-10-50-1"
  },
  "r14": {
   "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/2147481047/942-405-50-1"
  },
  "r15": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "SubTopic": "30",
   "Topic": "805",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479581/805-30-50-1"
  },
  "r16": {
   "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/2147481047/942-405-50-1"
  },
  "r17": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(1)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r18": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(2)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r19": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(3)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r20": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)(4)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r21": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(g)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r22": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "SubTopic": "10",
   "Topic": "740",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-15"
  },
  "r23": {
   "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"
  },
  "r24": {
   "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"
  },
  "r25": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "480",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481648/480-10-50-2"
  },
  "r26": {
   "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"
  },
  "r27": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "SubTopic": "10",
   "Topic": "815",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-2"
  },
  "r28": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r29": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r30": {
   "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"
  },
  "r31": {
   "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"
  },
  "r32": {
   "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"
  },
  "r33": {
   "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"
  },
  "r34": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3"
  },
  "r35": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "SubTopic": "20",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3"
  },
  "r36": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(d)",
   "SubTopic": "20",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3"
  },
  "r37": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(e)",
   "SubTopic": "20",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483466/210-20-50-3"
  },
  "r38": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "e",
   "SubTopic": "470",
   "Topic": "942",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480848/942-470-50-3"
  },
  "r39": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "35",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-35"
  },
  "r40": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(b)",
   "SubTopic": "10",
   "Topic": "815",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D"
  },
  "r41": {
   "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"
  },
  "r42": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Subparagraph": "(a)",
   "SubTopic": "10",
   "Topic": "820",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A"
  },
  "r43": {
   "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"
  },
  "r44": {
   "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"
  },
  "r45": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "13",
   "SubTopic": "20",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-13"
  },
  "r46": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "8",
   "SubTopic": "20",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-8"
  },
  "r47": {
   "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"
  },
  "r48": {
   "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"
  },
  "r49": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r50": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r51": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.20)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r52": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.20,24)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r53": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "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"
  },
  "r54": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r55": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.25)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r56": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r57": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r58": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r59": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "210",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r60": {
   "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"
  },
  "r61": {
   "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"
  },
  "r62": {
   "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"
  },
  "r63": {
   "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"
  },
  "r64": {
   "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"
  },
  "r65": {
   "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"
  },
  "r66": {
   "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"
  },
  "r67": {
   "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"
  },
  "r68": {
   "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"
  },
  "r69": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r70": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "15",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-15"
  },
  "r71": {
   "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"
  },
  "r72": {
   "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"
  },
  "r73": {
   "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"
  },
  "r74": {
   "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"
  },
  "r75": {
   "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"
  },
  "r76": {
   "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"
  },
  "r77": {
   "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"
  },
  "r78": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r79": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482662/260-10-50-1"
  },
  "r80": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "52",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482635/260-10-55-52"
  },
  "r81": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481990/310-10-45-3"
  },
  "r82": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-11B"
  },
  "r83": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "29",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-29"
  },
  "r84": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7"
  },
  "r85": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A"
  },
  "r86": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "30",
   "Section": "15",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481906/310-30-15-2"
  },
  "r87": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481696/310-30-50-2"
  },
  "r88": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481696/310-30-50-2"
  },
  "r89": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "310",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(b)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481696/310-30-50-2"
  },
  "r90": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "320",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//320/tableOfContent"
  },
  "r91": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482573/350-20-50-1"
  },
  "r92": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482686/350-30-45-1"
  },
  "r93": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482686/350-30-45-2"
  },
  "r94": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1"
  },
  "r95": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "((a)(1),(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r96": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r97": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "350",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r98": {
   "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"
  },
  "r99": {
   "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"
  },
  "r100": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "480",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481679/480-10-45-2A"
  },
  "r101": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "480",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480244/480-10-S99-1"
  },
  "r102": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "480",
   "SubTopic": "10",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(CFRR 211.02)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480244/480-10-S99-1"
  },
  "r103": {
   "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"
  },
  "r104": {
   "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"
  },
  "r105": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-11"
  },
  "r106": {
   "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"
  },
  "r107": {
   "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"
  },
  "r108": {
   "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"
  },
  "r109": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "505",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481112/505-10-50-5"
  },
  "r110": {
   "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"
  },
  "r111": {
   "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"
  },
  "r112": {
   "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"
  },
  "r113": {
   "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"
  },
  "r114": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480429/718-10-50-2"
  },
  "r115": {
   "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"
  },
  "r116": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481089/718-20-55-12"
  },
  "r117": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "718",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "13",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481089/718-20-55-13"
  },
  "r118": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-3"
  },
  "r119": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "740",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-3"
  },
  "r120": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "10",
   "Section": "25",
   "Paragraph": "23",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479405/805-10-25-23"
  },
  "r121": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479328/805-10-50-2"
  },
  "r122": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479328/805-10-50-3"
  },
  "r123": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "37",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479303/805-10-55-37"
  },
  "r124": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-1"
  },
  "r125": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-1"
  },
  "r126": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-1"
  },
  "r127": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "805",
   "SubTopic": "20",
   "Section": "55",
   "Paragraph": "20",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479876/805-20-55-20"
  },
  "r128": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1"
  },
  "r129": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1A"
  },
  "r130": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-1B"
  },
  "r131": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)(1)(ii)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-2"
  },
  "r132": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4"
  },
  "r133": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A"
  },
  "r134": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4A",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4A"
  },
  "r135": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B"
  },
  "r136": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(a),(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B"
  },
  "r137": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B"
  },
  "r138": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4B",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4B"
  },
  "r139": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C"
  },
  "r140": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C"
  },
  "r141": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C"
  },
  "r142": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C"
  },
  "r143": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D"
  },
  "r144": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4H",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4H"
  },
  "r145": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4K",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4K"
  },
  "r146": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "5",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-5"
  },
  "r147": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8"
  },
  "r148": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-8"
  },
  "r149": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "10",
   "Section": "55",
   "Paragraph": "182",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480401/815-10-55-182"
  },
  "r150": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "25",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480238/815-25-50-1"
  },
  "r151": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "30",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480870/815-30-50-1"
  },
  "r152": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r153": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r154": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "820",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3"
  },
  "r155": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-11"
  },
  "r156": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "12",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-12"
  },
  "r157": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-1A"
  },
  "r158": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-2"
  },
  "r159": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "45",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482925/835-30-45-3"
  },
  "r160": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "835",
   "SubTopic": "30",
   "Section": "55",
   "Paragraph": "8",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482949/835-30-55-8"
  },
  "r161": {
   "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/2147481309/942-210-45-4"
  },
  "r162": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.10(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r163": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.12)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r164": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.13(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r165": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.16)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r166": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.17)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r167": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r168": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "210",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-03.4)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r169": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "230",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481160/942-230-45-1"
  },
  "r170": {
   "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/2147480848/942-470-50-1"
  },
  "r171": {
   "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/2147480848/942-470-50-3"
  },
  "r172": {
   "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/2147480981/942-825-50-1"
  },
  "r173": {
   "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/2147480981/942-825-50-2"
  },
  "r174": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "205",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//205/tableOfContent"
  },
  "r175": {
   "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"
  },
  "r176": {
   "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"
  },
  "r177": {
   "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"
  },
  "r178": {
   "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"
  },
  "r179": {
   "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"
  },
  "r180": {
   "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"
  },
  "r181": {
   "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"
  },
  "r182": {
   "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"
  },
  "r183": {
   "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"
  },
  "r184": {
   "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"
  },
  "r185": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "210",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "7",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483444/210-20-55-7"
  },
  "r186": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "220",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//220/tableOfContent"
  },
  "r187": {
   "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"
  },
  "r188": {
   "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"
  },
  "r189": {
   "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"
  },
  "r190": {
   "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"
  },
  "r191": {
   "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.3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r192": {
   "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"
  },
  "r193": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "230",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "12",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482740/230-10-45-12"
  },
  "r194": {
   "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"
  },
  "r195": {
   "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"
  },
  "r196": {
   "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"
  },
  "r197": {
   "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"
  },
  "r198": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "235",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//235/tableOfContent"
  },
  "r199": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "275",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//275/tableOfContent"
  },
  "r200": {
   "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"
  },
  "r201": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481569/310-20-50-1"
  },
  "r202": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481569/310-20-50-4"
  },
  "r203": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "310",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481746/310-40-50-4"
  },
  "r204": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "350",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//350/tableOfContent"
  },
  "r205": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "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"
  },
  "r206": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "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"
  },
  "r207": {
   "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"
  },
  "r208": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "440",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//440/tableOfContent"
  },
  "r209": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "505",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//505/tableOfContent"
  },
  "r210": {
   "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"
  },
  "r211": {
   "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"
  },
  "r212": {
   "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"
  },
  "r213": {
   "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"
  },
  "r214": {
   "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"
  },
  "r215": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "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"
  },
  "r216": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "805",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//805/tableOfContent"
  },
  "r217": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "805",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Section": "50",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479907/805-20-50-1"
  },
  "r218": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "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"
  },
  "r219": {
   "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"
  },
  "r220": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "815",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//815/tableOfContent"
  },
  "r221": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r222": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "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"
  },
  "r223": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "940",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//940-320/tableOfContent"
  },
  "r224": {
   "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/2147479853/942-210-S99-1"
  },
  "r225": {
   "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/2147479853/942-210-S99-1"
  },
  "r226": {
   "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/2147479853/942-210-S99-1"
  },
  "r227": {
   "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/2147479853/942-210-S99-1"
  },
  "r228": {
   "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/2147479853/942-210-S99-1"
  },
  "r229": {
   "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/2147479853/942-210-S99-1"
  },
  "r230": {
   "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,16)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r231": {
   "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/2147483589/942-220-S99-1"
  },
  "r232": {
   "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/2147483589/942-220-S99-1"
  },
  "r233": {
   "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/2147483589/942-220-S99-1"
  },
  "r234": {
   "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/2147483589/942-220-S99-1"
  },
  "r235": {
   "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-5)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r236": {
   "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.10)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r237": {
   "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/2147483589/942-220-S99-1"
  },
  "r238": {
   "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/2147483589/942-220-S99-1"
  },
  "r239": {
   "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/2147483589/942-220-S99-1"
  },
  "r240": {
   "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/2147483589/942-220-S99-1"
  },
  "r241": {
   "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/2147483589/942-220-S99-1"
  },
  "r242": {
   "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/2147483589/942-220-S99-1"
  },
  "r243": {
   "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/2147483589/942-220-S99-1"
  },
  "r244": {
   "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/2147483589/942-220-S99-1"
  },
  "r245": {
   "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/2147483589/942-220-S99-1"
  },
  "r246": {
   "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/2147483589/942-220-S99-1"
  },
  "r247": {
   "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.9)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483589/942-220-S99-1"
  },
  "r248": {
   "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"
  },
  "r249": {
   "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/2147480876/942-470-45-1"
  },
  "r250": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Topic": "946",
   "SubTopic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//946-320/tableOfContent"
  },
  "r251": {
   "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"
  },
  "r252": {
   "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"
  },
  "r253": {
   "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"
  },
  "r254": {
   "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"
  },
  "r255": {
   "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"
  },
  "r256": {
   "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"
  },
  "r257": {
   "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"
  },
  "r258": {
   "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"
  },
  "r259": {
   "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"
  },
  "r260": {
   "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"
  },
  "r261": {
   "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/2147480832/942-320-50-3"
  },
  "r262": {
   "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"
  },
  "r263": {
   "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"
  },
  "r264": {
   "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"
  },
  "r265": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4C",
   "Subparagraph": "(c)",
   "SubTopic": "10",
   "Topic": "815",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4C"
  },
  "r266": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "7A",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-7A"
  },
  "r267": {
   "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"
  },
  "r268": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(1)",
   "SubTopic": "20",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2"
  },
  "r269": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(d)(2)",
   "SubTopic": "20",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2"
  },
  "r270": {
   "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"
  },
  "r271": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "SubTopic": "10",
   "Topic": "210",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r272": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//250/tableOfContent"
  },
  "r273": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r274": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r275": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1403",
   "Paragraph": "(b)",
   "Publisher": "SEC"
  },
  "r276": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r277": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(b)",
   "Publisher": "SEC"
  },
  "r278": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r279": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r280": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r281": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(4)",
   "Publisher": "SEC"
  },
  "r282": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(c)",
   "Publisher": "SEC"
  },
  "r283": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "c",
   "Publisher": "SEC"
  },
  "r284": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1406",
   "Paragraph": "(e)",
   "Publisher": "SEC"
  },
  "r285": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1406",
   "Publisher": "SEC"
  },
  "r286": {
   "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"
  },
  "r287": {
   "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"
  },
  "r288": {
   "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"
  },
  "r289": {
   "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"
  },
  "r290": {
   "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"
  },
  "r291": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "105",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(f)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479343/105-10-65-6"
  },
  "r292": {
   "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"
  },
  "r293": {
   "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"
  },
  "r294": {
   "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"
  },
  "r295": {
   "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"
  },
  "r296": {
   "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"
  },
  "r297": {
   "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"
  },
  "r298": {
   "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"
  },
  "r299": {
   "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"
  },
  "r300": {
   "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"
  },
  "r301": {
   "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"
  },
  "r302": {
   "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"
  },
  "r303": {
   "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"
  },
  "r304": {
   "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(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480566/210-10-S99-1"
  },
  "r305": {
   "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"
  },
  "r306": {
   "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"
  },
  "r307": {
   "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"
  },
  "r308": {
   "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"
  },
  "r309": {
   "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"
  },
  "r310": {
   "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"
  },
  "r311": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "10A",
   "Subparagraph": "(h)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482790/220-10-45-10A"
  },
  "r312": {
   "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"
  },
  "r313": {
   "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"
  },
  "r314": {
   "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"
  },
  "r315": {
   "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"
  },
  "r316": {
   "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"
  },
  "r317": {
   "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"
  },
  "r318": {
   "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"
  },
  "r319": {
   "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"
  },
  "r320": {
   "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"
  },
  "r321": {
   "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"
  },
  "r322": {
   "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"
  },
  "r323": {
   "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"
  },
  "r324": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "2",
   "Subparagraph": "(210.5-03(11))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r325": {
   "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"
  },
  "r326": {
   "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"
  },
  "r327": {
   "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"
  },
  "r328": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "220",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "5",
   "Subparagraph": "(SAB Topic 6.B)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-5"
  },
  "r329": {
   "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"
  },
  "r330": {
   "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"
  },
  "r331": {
   "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"
  },
  "r332": {
   "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"
  },
  "r333": {
   "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"
  },
  "r334": {
   "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"
  },
  "r335": {
   "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"
  },
  "r336": {
   "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"
  },
  "r337": {
   "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(e)(1))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480678/235-10-S99-1"
  },
  "r338": {
   "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"
  },
  "r339": {
   "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"
  },
  "r340": {
   "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"
  },
  "r341": {
   "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"
  },
  "r342": {
   "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"
  },
  "r343": {
   "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"
  },
  "r344": {
   "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"
  },
  "r345": {
   "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"
  },
  "r346": {
   "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"
  },
  "r347": {
   "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"
  },
  "r348": {
   "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"
  },
  "r349": {
   "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"
  },
  "r350": {
   "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"
  },
  "r351": {
   "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"
  },
  "r352": {
   "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"
  },
  "r353": {
   "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"
  },
  "r354": {
   "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"
  },
  "r355": {
   "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"
  },
  "r356": {
   "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"
  },
  "r357": {
   "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"
  },
  "r358": {
   "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"
  },
  "r359": {
   "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"
  },
  "r360": {
   "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"
  },
  "r361": {
   "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"
  },
  "r362": {
   "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"
  },
  "r363": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//260/tableOfContent"
  },
  "r364": {
   "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"
  },
  "r365": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-11"
  },
  "r366": {
   "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"
  },
  "r367": {
   "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"
  },
  "r368": {
   "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"
  },
  "r369": {
   "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"
  },
  "r370": {
   "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"
  },
  "r371": {
   "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"
  },
  "r372": {
   "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"
  },
  "r373": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "260",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482689/260-10-45-60B"
  },
  "r374": {
   "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"
  },
  "r375": {
   "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"
  },
  "r376": {
   "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"
  },
  "r377": {
   "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"
  },
  "r378": {
   "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"
  },
  "r379": {
   "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"
  },
  "r380": {
   "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"
  },
  "r381": {
   "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"
  },
  "r382": {
   "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"
  },
  "r383": {
   "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"
  },
  "r384": {
   "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"
  },
  "r385": {
   "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"
  },
  "r386": {
   "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"
  },
  "r387": {
   "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"
  },
  "r388": {
   "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"
  },
  "r389": {
   "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"
  },
  "r390": {
   "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"
  },
  "r391": {
   "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"
  },
  "r392": {
   "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"
  },
  "r393": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r394": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r395": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r396": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r397": {
   "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"
  },
  "r398": {
   "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"
  },
  "r399": {
   "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"
  },
  "r400": {
   "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"
  },
  "r401": {
   "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"
  },
  "r402": {
   "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"
  },
  "r403": {
   "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"
  },
  "r404": {
   "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"
  },
  "r405": {
   "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"
  },
  "r406": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481962/310-10-50-3"
  },
  "r407": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r408": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r409": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r410": {
   "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"
  },
  "r411": {
   "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"
  },
  "r412": {
   "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"
  },
  "r413": {
   "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"
  },
  "r414": {
   "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"
  },
  "r415": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r416": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2"
  },
  "r417": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "310",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481925/310-20-65-2"
  },
  "r418": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "320",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//320/tableOfContent"
  },
  "r419": {
   "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"
  },
  "r420": {
   "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"
  },
  "r421": {
   "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"
  },
  "r422": {
   "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"
  },
  "r423": {
   "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"
  },
  "r424": {
   "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"
  },
  "r425": {
   "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"
  },
  "r426": {
   "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"
  },
  "r427": {
   "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"
  },
  "r428": {
   "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"
  },
  "r429": {
   "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"
  },
  "r430": {
   "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"
  },
  "r431": {
   "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"
  },
  "r432": {
   "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"
  },
  "r433": {
   "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"
  },
  "r434": {
   "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"
  },
  "r435": {
   "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"
  },
  "r436": {
   "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"
  },
  "r437": {
   "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"
  },
  "r438": {
   "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"
  },
  "r439": {
   "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"
  },
  "r440": {
   "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"
  },
  "r441": {
   "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"
  },
  "r442": {
   "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"
  },
  "r443": {
   "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"
  },
  "r444": {
   "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"
  },
  "r445": {
   "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"
  },
  "r446": {
   "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"
  },
  "r447": {
   "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"
  },
  "r448": {
   "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"
  },
  "r449": {
   "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"
  },
  "r450": {
   "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"
  },
  "r451": {
   "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"
  },
  "r452": {
   "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"
  },
  "r453": {
   "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"
  },
  "r454": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r455": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r456": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "4",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-4"
  },
  "r457": {
   "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"
  },
  "r458": {
   "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"
  },
  "r459": {
   "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"
  },
  "r460": {
   "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"
  },
  "r461": {
   "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"
  },
  "r462": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5"
  },
  "r463": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5"
  },
  "r464": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "326",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(b)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479654/326-10-65-5"
  },
  "r465": {
   "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"
  },
  "r466": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r467": {
   "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"
  },
  "r468": {
   "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"
  },
  "r469": {
   "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"
  },
  "r470": {
   "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"
  },
  "r471": {
   "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"
  },
  "r472": {
   "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"
  },
  "r473": {
   "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"
  },
  "r474": {
   "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"
  },
  "r475": {
   "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"
  },
  "r476": {
   "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"
  },
  "r477": {
   "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"
  },
  "r478": {
   "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"
  },
  "r479": {
   "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"
  },
  "r480": {
   "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"
  },
  "r481": {
   "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"
  },
  "r482": {
   "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"
  },
  "r483": {
   "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"
  },
  "r484": {
   "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"
  },
  "r485": {
   "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"
  },
  "r486": {
   "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"
  },
  "r487": {
   "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"
  },
  "r488": {
   "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"
  },
  "r489": {
   "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"
  },
  "r490": {
   "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"
  },
  "r491": {
   "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"
  },
  "r492": {
   "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"
  },
  "r493": {
   "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"
  },
  "r494": {
   "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"
  },
  "r495": {
   "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"
  },
  "r496": {
   "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"
  },
  "r497": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-1"
  },
  "r498": {
   "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"
  },
  "r499": {
   "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"
  },
  "r500": {
   "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"
  },
  "r501": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "350",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482665/350-30-50-2"
  },
  "r502": {
   "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"
  },
  "r503": {
   "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"
  },
  "r504": {
   "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"
  },
  "r505": {
   "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"
  },
  "r506": {
   "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"
  },
  "r507": {
   "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"
  },
  "r508": {
   "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"
  },
  "r509": {
   "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"
  },
  "r510": {
   "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"
  },
  "r511": {
   "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"
  },
  "r512": {
   "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"
  },
  "r513": {
   "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"
  },
  "r514": {
   "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"
  },
  "r515": {
   "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"
  },
  "r516": {
   "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"
  },
  "r517": {
   "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"
  },
  "r518": {
   "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"
  },
  "r519": {
   "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"
  },
  "r520": {
   "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"
  },
  "r521": {
   "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"
  },
  "r522": {
   "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"
  },
  "r523": {
   "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"
  },
  "r524": {
   "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"
  },
  "r525": {
   "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"
  },
  "r526": {
   "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"
  },
  "r527": {
   "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"
  },
  "r528": {
   "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"
  },
  "r529": {
   "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"
  },
  "r530": {
   "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"
  },
  "r531": {
   "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"
  },
  "r532": {
   "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"
  },
  "r533": {
   "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"
  },
  "r534": {
   "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"
  },
  "r535": {
   "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"
  },
  "r536": {
   "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"
  },
  "r537": {
   "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"
  },
  "r538": {
   "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"
  },
  "r539": {
   "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"
  },
  "r540": {
   "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"
  },
  "r541": {
   "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"
  },
  "r542": {
   "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"
  },
  "r543": {
   "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"
  },
  "r544": {
   "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"
  },
  "r545": {
   "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"
  },
  "r546": {
   "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"
  },
  "r547": {
   "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"
  },
  "r548": {
   "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"
  },
  "r549": {
   "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"
  },
  "r550": {
   "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"
  },
  "r551": {
   "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"
  },
  "r552": {
   "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"
  },
  "r553": {
   "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"
  },
  "r554": {
   "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"
  },
  "r555": {
   "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"
  },
  "r556": {
   "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"
  },
  "r557": {
   "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"
  },
  "r558": {
   "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"
  },
  "r559": {
   "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"
  },
  "r560": {
   "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"
  },
  "r561": {
   "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"
  },
  "r562": {
   "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"
  },
  "r563": {
   "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"
  },
  "r564": {
   "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"
  },
  "r565": {
   "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"
  },
  "r566": {
   "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"
  },
  "r567": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//718/tableOfContent"
  },
  "r568": {
   "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"
  },
  "r569": {
   "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"
  },
  "r570": {
   "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"
  },
  "r571": {
   "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"
  },
  "r572": {
   "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"
  },
  "r573": {
   "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"
  },
  "r574": {
   "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"
  },
  "r575": {
   "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"
  },
  "r576": {
   "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"
  },
  "r577": {
   "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"
  },
  "r578": {
   "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"
  },
  "r579": {
   "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"
  },
  "r580": {
   "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"
  },
  "r581": {
   "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"
  },
  "r582": {
   "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"
  },
  "r583": {
   "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"
  },
  "r584": {
   "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"
  },
  "r585": {
   "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"
  },
  "r586": {
   "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"
  },
  "r587": {
   "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"
  },
  "r588": {
   "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"
  },
  "r589": {
   "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"
  },
  "r590": {
   "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"
  },
  "r591": {
   "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"
  },
  "r592": {
   "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"
  },
  "r593": {
   "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"
  },
  "r594": {
   "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"
  },
  "r595": {
   "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"
  },
  "r596": {
   "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"
  },
  "r597": {
   "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"
  },
  "r598": {
   "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"
  },
  "r599": {
   "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"
  },
  "r600": {
   "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"
  },
  "r601": {
   "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"
  },
  "r602": {
   "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"
  },
  "r603": {
   "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"
  },
  "r604": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(e)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r605": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r606": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "718",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "15",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480336/718-10-65-15"
  },
  "r607": {
   "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"
  },
  "r608": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//740/tableOfContent"
  },
  "r609": {
   "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"
  },
  "r610": {
   "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"
  },
  "r611": {
   "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"
  },
  "r612": {
   "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"
  },
  "r613": {
   "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"
  },
  "r614": {
   "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"
  },
  "r615": {
   "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"
  },
  "r616": {
   "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"
  },
  "r617": {
   "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"
  },
  "r618": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8"
  },
  "r619": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8"
  },
  "r620": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "8",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482615/740-10-65-8"
  },
  "r621": {
   "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"
  },
  "r622": {
   "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"
  },
  "r623": {
   "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.Fact.1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-1"
  },
  "r624": {
   "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.Fact.2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479360/740-10-S99-1"
  },
  "r625": {
   "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"
  },
  "r626": {
   "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/2147482526/740-270-50-1"
  },
  "r627": {
   "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"
  },
  "r628": {
   "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"
  },
  "r629": {
   "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"
  },
  "r630": {
   "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"
  },
  "r631": {
   "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"
  },
  "r632": {
   "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"
  },
  "r633": {
   "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"
  },
  "r634": {
   "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"
  },
  "r635": {
   "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"
  },
  "r636": {
   "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"
  },
  "r637": {
   "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"
  },
  "r638": {
   "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"
  },
  "r639": {
   "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"
  },
  "r640": {
   "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"
  },
  "r641": {
   "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"
  },
  "r642": {
   "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"
  },
  "r643": {
   "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"
  },
  "r644": {
   "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"
  },
  "r645": {
   "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"
  },
  "r646": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r647": {
   "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"
  },
  "r648": {
   "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"
  },
  "r649": {
   "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"
  },
  "r650": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480528/815-20-65-6"
  },
  "r651": {
   "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"
  },
  "r652": {
   "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"
  },
  "r653": {
   "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"
  },
  "r654": {
   "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"
  },
  "r655": {
   "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"
  },
  "r656": {
   "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"
  },
  "r657": {
   "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"
  },
  "r658": {
   "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"
  },
  "r659": {
   "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"
  },
  "r660": {
   "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"
  },
  "r661": {
   "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"
  },
  "r662": {
   "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"
  },
  "r663": {
   "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"
  },
  "r664": {
   "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"
  },
  "r665": {
   "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"
  },
  "r666": {
   "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"
  },
  "r667": {
   "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"
  },
  "r668": {
   "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"
  },
  "r669": {
   "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"
  },
  "r670": {
   "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"
  },
  "r671": {
   "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"
  },
  "r672": {
   "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"
  },
  "r673": {
   "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"
  },
  "r674": {
   "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"
  },
  "r675": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-2"
  },
  "r676": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-2"
  },
  "r677": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-2"
  },
  "r678": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "815",
   "SubTopic": "40",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(c)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480175/815-40-65-2"
  },
  "r679": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r680": {
   "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"
  },
  "r681": {
   "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"
  },
  "r682": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r683": {
   "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"
  },
  "r684": {
   "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"
  },
  "r685": {
   "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"
  },
  "r686": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "3",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-3"
  },
  "r687": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-6A"
  },
  "r688": {
   "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"
  },
  "r689": {
   "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"
  },
  "r690": {
   "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"
  },
  "r691": {
   "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"
  },
  "r692": {
   "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"
  },
  "r693": {
   "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"
  },
  "r694": {
   "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"
  },
  "r695": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "31",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482907/825-10-50-31"
  },
  "r696": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r697": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r698": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r699": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(c)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r700": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r701": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r702": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "825",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "6",
   "Subparagraph": "(e)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482833/825-10-65-6"
  },
  "r703": {
   "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"
  },
  "r704": {
   "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"
  },
  "r705": {
   "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"
  },
  "r706": {
   "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"
  },
  "r707": {
   "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"
  },
  "r708": {
   "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"
  },
  "r709": {
   "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"
  },
  "r710": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "832",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483482/832-10-65-1"
  },
  "r711": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "832",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483482/832-10-65-1"
  },
  "r712": {
   "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"
  },
  "r713": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "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"
  },
  "r714": {
   "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"
  },
  "r715": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r716": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r717": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r718": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r719": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "5",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479832/842-10-65-5"
  },
  "r720": {
   "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"
  },
  "r721": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "40",
   "Paragraph": "1",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479092/842-20-40-1"
  },
  "r722": {
   "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"
  },
  "r723": {
   "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"
  },
  "r724": {
   "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"
  },
  "r725": {
   "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"
  },
  "r726": {
   "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"
  },
  "r727": {
   "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"
  },
  "r728": {
   "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"
  },
  "r729": {
   "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"
  },
  "r730": {
   "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"
  },
  "r731": {
   "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"
  },
  "r732": {
   "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"
  },
  "r733": {
   "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"
  },
  "r734": {
   "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"
  },
  "r735": {
   "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"
  },
  "r736": {
   "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"
  },
  "r737": {
   "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"
  },
  "r738": {
   "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"
  },
  "r739": {
   "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"
  },
  "r740": {
   "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"
  },
  "r741": {
   "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"
  },
  "r742": {
   "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"
  },
  "r743": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "860",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//860/tableOfContent"
  },
  "r744": {
   "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"
  },
  "r745": {
   "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"
  },
  "r746": {
   "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"
  },
  "r747": {
   "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"
  },
  "r748": {
   "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"
  },
  "r749": {
   "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"
  },
  "r750": {
   "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"
  },
  "r751": {
   "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"
  },
  "r752": {
   "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"
  },
  "r753": {
   "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"
  },
  "r754": {
   "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"
  },
  "r755": {
   "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"
  },
  "r756": {
   "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"
  },
  "r757": {
   "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"
  },
  "r758": {
   "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"
  },
  "r759": {
   "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"
  },
  "r760": {
   "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"
  },
  "r761": {
   "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"
  },
  "r762": {
   "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"
  },
  "r763": {
   "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"
  },
  "r764": {
   "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"
  },
  "r765": {
   "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"
  },
  "r766": {
   "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"
  },
  "r767": {
   "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"
  },
  "r768": {
   "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"
  },
  "r769": {
   "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"
  },
  "r770": {
   "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"
  },
  "r771": {
   "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"
  },
  "r772": {
   "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"
  },
  "r773": {
   "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"
  },
  "r774": {
   "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"
  },
  "r775": {
   "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"
  },
  "r776": {
   "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"
  },
  "r777": {
   "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"
  },
  "r778": {
   "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"
  },
  "r779": {
   "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"
  },
  "r780": {
   "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"
  },
  "r781": {
   "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"
  },
  "r782": {
   "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"
  },
  "r783": {
   "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"
  },
  "r784": {
   "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"
  },
  "r785": {
   "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"
  },
  "r786": {
   "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"
  },
  "r787": {
   "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"
  },
  "r788": {
   "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"
  },
  "r789": {
   "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"
  },
  "r790": {
   "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"
  },
  "r791": {
   "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"
  },
  "r792": {
   "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"
  },
  "r793": {
   "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"
  },
  "r794": {
   "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"
  },
  "r795": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(1)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2"
  },
  "r796": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(2)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2"
  },
  "r797": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "926",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "65",
   "Paragraph": "2",
   "Subparagraph": "(f)(3)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483194/926-20-65-2"
  },
  "r798": {
   "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/2147483147/928-340-50-1"
  },
  "r799": {
   "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/2147479853/942-210-S99-1"
  },
  "r800": {
   "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/2147479853/942-210-S99-1"
  },
  "r801": {
   "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/2147483589/942-220-S99-1"
  },
  "r802": {
   "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/2147483589/942-220-S99-1"
  },
  "r803": {
   "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/2147483589/942-220-S99-1"
  },
  "r804": {
   "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/2147481160/942-230-45-1"
  },
  "r805": {
   "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/2147479557/942-235-S99-1"
  },
  "r806": {
   "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/2147480832/942-320-50-3"
  },
  "r807": {
   "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/2147480832/942-320-50-3A"
  },
  "r808": {
   "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/2147480832/942-320-50-3A"
  },
  "r809": {
   "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/2147480832/942-320-50-3A"
  },
  "r810": {
   "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/2147480832/942-320-50-3A"
  },
  "r811": {
   "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/2147480832/942-320-50-3A"
  },
  "r812": {
   "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/2147480842/942-360-50-1"
  },
  "r813": {
   "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/2147479440/944-210-S99-1"
  },
  "r814": {
   "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/2147479440/944-210-S99-1"
  },
  "r815": {
   "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/2147479440/944-210-S99-1"
  },
  "r816": {
   "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/2147479440/944-210-S99-1"
  },
  "r817": {
   "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/2147479440/944-210-S99-1"
  },
  "r818": {
   "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/2147479440/944-210-S99-1"
  },
  "r819": {
   "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/2147479440/944-210-S99-1"
  },
  "r820": {
   "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/2147479440/944-210-S99-1"
  },
  "r821": {
   "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/2147479440/944-210-S99-1"
  },
  "r822": {
   "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/2147483586/944-220-S99-1"
  },
  "r823": {
   "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/2147483586/944-220-S99-1"
  },
  "r824": {
   "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/2147483586/944-220-S99-1"
  },
  "r825": {
   "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/2147483586/944-220-S99-1"
  },
  "r826": {
   "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/2147483586/944-220-S99-1"
  },
  "r827": {
   "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/2147483586/944-220-S99-1"
  },
  "r828": {
   "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/2147483586/944-220-S99-1"
  },
  "r829": {
   "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(7)(b))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483586/944-220-S99-1"
  },
  "r830": {
   "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/2147483586/944-220-S99-1"
  },
  "r831": {
   "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/2147480149/944-235-S99-2"
  },
  "r832": {
   "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/2147480149/944-235-S99-2"
  },
  "r833": {
   "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/2147480149/944-235-S99-2"
  },
  "r834": {
   "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/2147480149/944-235-S99-2"
  },
  "r835": {
   "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/2147480149/944-235-S99-2"
  },
  "r836": {
   "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/2147480149/944-235-S99-2"
  },
  "r837": {
   "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"
  },
  "r838": {
   "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"
  },
  "r839": {
   "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"
  },
  "r840": {
   "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"
  },
  "r841": {
   "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"
  },
  "r842": {
   "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"
  },
  "r843": {
   "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"
  },
  "r844": {
   "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"
  },
  "r845": {
   "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"
  },
  "r846": {
   "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"
  },
  "r847": {
   "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"
  },
  "r848": {
   "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"
  },
  "r849": {
   "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"
  },
  "r850": {
   "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"
  },
  "r851": {
   "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"
  },
  "r852": {
   "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"
  },
  "r853": {
   "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"
  },
  "r854": {
   "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"
  },
  "r855": {
   "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"
  },
  "r856": {
   "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"
  },
  "r857": {
   "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/2147480767/946-205-45-4"
  },
  "r858": {
   "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/2147480737/946-205-50-2"
  },
  "r859": {
   "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/2147480737/946-205-50-27"
  },
  "r860": {
   "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/2147480737/946-205-50-7"
  },
  "r861": {
   "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/2147480737/946-205-50-7"
  },
  "r862": {
   "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/2147480737/946-205-50-7"
  },
  "r863": {
   "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/2147480737/946-205-50-7"
  },
  "r864": {
   "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/2147480737/946-205-50-7"
  },
  "r865": {
   "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/2147480737/946-205-50-7"
  },
  "r866": {
   "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/2147480737/946-205-50-7"
  },
  "r867": {
   "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/2147480737/946-205-50-7"
  },
  "r868": {
   "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/2147480555/946-210-45-4"
  },
  "r869": {
   "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/2147480524/946-210-50-1"
  },
  "r870": {
   "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/2147480524/946-210-50-1"
  },
  "r871": {
   "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/2147480524/946-210-50-1"
  },
  "r872": {
   "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/2147480524/946-210-50-1"
  },
  "r873": {
   "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/2147480524/946-210-50-1"
  },
  "r874": {
   "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/2147480524/946-210-50-12"
  },
  "r875": {
   "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/2147480524/946-210-50-6"
  },
  "r876": {
   "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/2147480524/946-210-50-6"
  },
  "r877": {
   "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/2147480524/946-210-50-6"
  },
  "r878": {
   "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/2147480524/946-210-50-6"
  },
  "r879": {
   "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/2147480524/946-210-50-6"
  },
  "r880": {
   "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/2147480524/946-210-50-6"
  },
  "r881": {
   "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/2147479617/946-210-S99-1"
  },
  "r882": {
   "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/2147479617/946-210-S99-1"
  },
  "r883": {
   "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/2147479617/946-210-S99-1"
  },
  "r884": {
   "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/2147479617/946-210-S99-1"
  },
  "r885": {
   "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/2147479617/946-210-S99-1"
  },
  "r886": {
   "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/2147479617/946-210-S99-1"
  },
  "r887": {
   "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/2147479617/946-210-S99-1"
  },
  "r888": {
   "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/2147479617/946-210-S99-1"
  },
  "r889": {
   "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/2147479617/946-210-S99-1"
  },
  "r890": {
   "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/2147479617/946-210-S99-1"
  },
  "r891": {
   "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/2147479617/946-210-S99-1"
  },
  "r892": {
   "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/2147479617/946-210-S99-1"
  },
  "r893": {
   "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/2147479617/946-210-S99-1"
  },
  "r894": {
   "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/2147479617/946-210-S99-1"
  },
  "r895": {
   "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/2147479617/946-210-S99-1"
  },
  "r896": {
   "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/2147479617/946-210-S99-1"
  },
  "r897": {
   "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/2147479617/946-210-S99-1"
  },
  "r898": {
   "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/2147479617/946-210-S99-1"
  },
  "r899": {
   "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/2147479617/946-210-S99-1"
  },
  "r900": {
   "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/2147479617/946-210-S99-1"
  },
  "r901": {
   "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/2147479617/946-210-S99-1"
  },
  "r902": {
   "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/2147479617/946-210-S99-1"
  },
  "r903": {
   "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/2147479617/946-210-S99-1"
  },
  "r904": {
   "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/2147479617/946-210-S99-1"
  },
  "r905": {
   "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/2147479617/946-210-S99-1"
  },
  "r906": {
   "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/2147479617/946-210-S99-1"
  },
  "r907": {
   "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/2147479617/946-210-S99-1"
  },
  "r908": {
   "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/2147479617/946-210-S99-2"
  },
  "r909": {
   "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/2147479617/946-210-S99-2"
  },
  "r910": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Topic": "946",
   "SubTopic": "220",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "3",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483581/946-220-45-3"
  },
  "r911": {
   "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/2147483581/946-220-45-7"
  },
  "r912": {
   "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/2147483580/946-220-50-3"
  },
  "r913": {
   "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/2147483575/946-220-S99-1"
  },
  "r914": {
   "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/2147483575/946-220-S99-1"
  },
  "r915": {
   "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/2147483575/946-220-S99-1"
  },
  "r916": {
   "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(3))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483575/946-220-S99-1"
  },
  "r917": {
   "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/2147483575/946-220-S99-1"
  },
  "r918": {
   "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/2147483575/946-220-S99-1"
  },
  "r919": {
   "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/2147483575/946-220-S99-1"
  },
  "r920": {
   "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/2147483575/946-220-S99-1"
  },
  "r921": {
   "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/2147483575/946-220-S99-1"
  },
  "r922": {
   "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/2147483575/946-220-S99-1"
  },
  "r923": {
   "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/2147483575/946-220-S99-1"
  },
  "r924": {
   "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/2147483575/946-220-S99-1"
  },
  "r925": {
   "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/2147483575/946-220-S99-1"
  },
  "r926": {
   "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/2147483575/946-220-S99-1"
  },
  "r927": {
   "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/2147483575/946-220-S99-1"
  },
  "r928": {
   "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/2147483575/946-220-S99-1"
  },
  "r929": {
   "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/2147483575/946-220-S99-1"
  },
  "r930": {
   "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/2147483575/946-220-S99-3"
  },
  "r931": {
   "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/2147483575/946-220-S99-3"
  },
  "r932": {
   "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/2147483575/946-220-S99-3"
  },
  "r933": {
   "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/2147483575/946-220-S99-3"
  },
  "r934": {
   "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/2147481062/946-235-50-2"
  },
  "r935": {
   "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/2147481062/946-235-50-2"
  },
  "r936": {
   "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/2147480032/946-320-S99-1"
  },
  "r937": {
   "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/2147480032/946-320-S99-1"
  },
  "r938": {
   "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/2147480032/946-320-S99-1"
  },
  "r939": {
   "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/2147480032/946-320-S99-1"
  },
  "r940": {
   "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/2147480032/946-320-S99-1"
  },
  "r941": {
   "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/2147480032/946-320-S99-1"
  },
  "r942": {
   "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/2147480032/946-320-S99-1"
  },
  "r943": {
   "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/2147480032/946-320-S99-1"
  },
  "r944": {
   "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/2147480032/946-320-S99-1"
  },
  "r945": {
   "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/2147480032/946-320-S99-1"
  },
  "r946": {
   "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/2147480032/946-320-S99-1"
  },
  "r947": {
   "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/2147480032/946-320-S99-1"
  },
  "r948": {
   "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/2147480032/946-320-S99-1"
  },
  "r949": {
   "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/2147480032/946-320-S99-1"
  },
  "r950": {
   "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/2147480032/946-320-S99-1"
  },
  "r951": {
   "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/2147480032/946-320-S99-1"
  },
  "r952": {
   "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/2147480032/946-320-S99-1"
  },
  "r953": {
   "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/2147480032/946-320-S99-1"
  },
  "r954": {
   "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/2147480032/946-320-S99-1"
  },
  "r955": {
   "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/2147480032/946-320-S99-1"
  },
  "r956": {
   "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/2147480032/946-320-S99-19"
  },
  "r957": {
   "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/2147480032/946-320-S99-19"
  },
  "r958": {
   "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/2147480032/946-320-S99-2"
  },
  "r959": {
   "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/2147480032/946-320-S99-2"
  },
  "r960": {
   "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/2147480032/946-320-S99-2"
  },
  "r961": {
   "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/2147480032/946-320-S99-3"
  },
  "r962": {
   "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/2147480032/946-320-S99-3"
  },
  "r963": {
   "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/2147480032/946-320-S99-3"
  },
  "r964": {
   "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/2147480032/946-320-S99-3"
  },
  "r965": {
   "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/2147480032/946-320-S99-3"
  },
  "r966": {
   "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/2147480032/946-320-S99-3"
  },
  "r967": {
   "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/2147480032/946-320-S99-3"
  },
  "r968": {
   "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/2147480032/946-320-S99-3"
  },
  "r969": {
   "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/2147480032/946-320-S99-3"
  },
  "r970": {
   "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/2147480032/946-320-S99-3"
  },
  "r971": {
   "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/2147480032/946-320-S99-3"
  },
  "r972": {
   "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/2147480032/946-320-S99-3"
  },
  "r973": {
   "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/2147480032/946-320-S99-3"
  },
  "r974": {
   "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/2147480032/946-320-S99-3"
  },
  "r975": {
   "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/2147480032/946-320-S99-3"
  },
  "r976": {
   "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/2147480032/946-320-S99-3"
  },
  "r977": {
   "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/2147480032/946-320-S99-3"
  },
  "r978": {
   "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/2147480032/946-320-S99-3"
  },
  "r979": {
   "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/2147480032/946-320-S99-3"
  },
  "r980": {
   "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/2147480032/946-320-S99-3"
  },
  "r981": {
   "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/2147480032/946-320-S99-3"
  },
  "r982": {
   "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/2147480032/946-320-S99-3"
  },
  "r983": {
   "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/2147480032/946-320-S99-3"
  },
  "r984": {
   "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/2147480032/946-320-S99-3"
  },
  "r985": {
   "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/2147480032/946-320-S99-5"
  },
  "r986": {
   "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/2147480032/946-320-S99-5"
  },
  "r987": {
   "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/2147480032/946-320-S99-5"
  },
  "r988": {
   "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/2147480032/946-320-S99-5A"
  },
  "r989": {
   "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/2147480032/946-320-S99-5B"
  },
  "r990": {
   "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/2147480032/946-320-S99-5B"
  },
  "r991": {
   "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/2147480032/946-320-S99-5C"
  },
  "r992": {
   "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/2147480032/946-320-S99-5C"
  },
  "r993": {
   "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/2147480032/946-320-S99-5C"
  },
  "r994": {
   "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 B)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D"
  },
  "r995": {
   "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 C)(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480032/946-320-S99-5D"
  },
  "r996": {
   "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/2147480032/946-320-S99-6"
  },
  "r997": {
   "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/2147480032/946-320-S99-6"
  },
  "r998": {
   "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/2147480032/946-320-S99-6"
  },
  "r999": {
   "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/2147480032/946-320-S99-6"
  },
  "r1000": {
   "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/2147480032/946-320-S99-6"
  },
  "r1001": {
   "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/2147480032/946-320-S99-6"
  },
  "r1002": {
   "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/2147480032/946-320-S99-6"
  },
  "r1003": {
   "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/2147480032/946-320-S99-6"
  },
  "r1004": {
   "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/2147480032/946-320-S99-6"
  },
  "r1005": {
   "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/2147480032/946-320-S99-6"
  },
  "r1006": {
   "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/2147480032/946-320-S99-6"
  },
  "r1007": {
   "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/2147480032/946-320-S99-6"
  },
  "r1008": {
   "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/2147480032/946-320-S99-6"
  },
  "r1009": {
   "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/2147480032/946-320-S99-6"
  },
  "r1010": {
   "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/2147480032/946-320-S99-6"
  },
  "r1011": {
   "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/2147480032/946-320-S99-6"
  },
  "r1012": {
   "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/2147480032/946-320-S99-6"
  },
  "r1013": {
   "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/2147480032/946-320-S99-6"
  },
  "r1014": {
   "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/2147480032/946-320-S99-6"
  },
  "r1015": {
   "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/2147480032/946-320-S99-7"
  },
  "r1016": {
   "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/2147480032/946-320-S99-7"
  },
  "r1017": {
   "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/2147480032/946-320-S99-7"
  },
  "r1018": {
   "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/2147480032/946-320-S99-7"
  },
  "r1019": {
   "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/2147481004/946-505-50-1"
  },
  "r1020": {
   "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/2147481004/946-505-50-2"
  },
  "r1021": {
   "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/2147481004/946-505-50-2"
  },
  "r1022": {
   "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/2147481004/946-505-50-2"
  },
  "r1023": {
   "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/2147481004/946-505-50-2"
  },
  "r1024": {
   "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/2147481004/946-505-50-6"
  },
  "r1025": {
   "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/2147481852/948-310-45-1"
  },
  "r1026": {
   "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(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479851/948-310-S99-1"
  },
  "r1027": {
   "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/2147480632/954-210-45-4"
  },
  "r1028": {
   "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/2147480602/954-210-50-2"
  },
  "r1029": {
   "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/2147480327/954-440-50-1"
  },
  "r1030": {
   "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/2147479438/970-360-S99-1"
  },
  "r1031": {
   "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/2147479438/970-360-S99-1"
  },
  "r1032": {
   "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/2147479438/970-360-S99-1"
  },
  "r1033": {
   "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/2147479438/970-360-S99-1"
  },
  "r1034": {
   "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/2147479438/970-360-S99-1"
  },
  "r1035": {
   "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/2147479438/970-360-S99-1"
  },
  "r1036": {
   "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/2147479438/970-360-S99-1"
  },
  "r1037": {
   "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/2147479438/970-360-S99-1"
  },
  "r1038": {
   "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(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  },
  "r1039": {
   "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/2147482856/976-310-50-1"
  },
  "r1040": {
   "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/2147482707/978-310-50-1"
  },
  "r1041": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4D",
   "Subparagraph": "(a)(1)",
   "SubTopic": "10",
   "Topic": "815",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4D"
  },
  "r1042": {
   "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"
  },
  "r1043": {
   "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"
  },
  "r1044": {
   "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"
  },
  "r1045": {
   "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"
  },
  "r1046": {
   "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"
  },
  "r1047": {
   "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"
  },
  "r1048": {
   "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"
  },
  "r1049": {
   "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"
  },
  "r1050": {
   "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"
  },
  "r1051": {
   "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"
  },
  "r1052": {
   "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"
  },
  "r1053": {
   "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"
  },
  "r1054": {
   "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"
  },
  "r1055": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "11",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-11"
  },
  "r1056": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(b)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12"
  },
  "r1057": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "55",
   "Paragraph": "12",
   "Subparagraph": "(d)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479294/326-20-55-12"
  },
  "r1058": {
   "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"
  },
  "r1059": {
   "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"
  },
  "r1060": {
   "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"
  },
  "r1061": {
   "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"
  },
  "r1062": {
   "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"
  },
  "r1063": {
   "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"
  },
  "r1064": {
   "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"
  },
  "r1065": {
   "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"
  },
  "r1066": {
   "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"
  },
  "r1067": {
   "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"
  },
  "r1068": {
   "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"
  },
  "r1069": {
   "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"
  },
  "r1070": {
   "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"
  },
  "r1071": {
   "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"
  },
  "r1072": {
   "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"
  },
  "r1073": {
   "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"
  },
  "r1074": {
   "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"
  },
  "r1075": {
   "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"
  },
  "r1076": {
   "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"
  },
  "r1077": {
   "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"
  },
  "r1078": {
   "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"
  },
  "r1079": {
   "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"
  },
  "r1080": {
   "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"
  },
  "r1081": {
   "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"
  },
  "r1082": {
   "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"
  },
  "r1083": {
   "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"
  },
  "r1084": {
   "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/2147480524/946-210-50-1"
  },
  "r1085": {
   "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/2147480524/946-210-50-6"
  },
  "r1086": {
   "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/2147480493/946-210-55-1"
  },
  "r1087": {
   "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/2147480833/946-310-45-1"
  },
  "r1088": {
   "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/2147480032/946-320-S99-1"
  },
  "r1089": {
   "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/2147480032/946-320-S99-2"
  },
  "r1090": {
   "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/2147480032/946-320-S99-3"
  },
  "r1091": {
   "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/2147480032/946-320-S99-5C"
  },
  "r1092": {
   "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/2147480032/946-320-S99-5C"
  },
  "r1093": {
   "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/2147480032/946-320-S99-6"
  },
  "r1094": {
   "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/2147480032/946-320-S99-7"
  },
  "r1095": {
   "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/2147480032/946-320-S99-7"
  },
  "r1096": {
   "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/2147480032/946-320-S99-7"
  },
  "r1097": {
   "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/2147480167/946-830-55-10"
  },
  "r1098": {
   "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/2147480167/946-830-55-12"
  },
  "r1099": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b"
  },
  "r1100": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1101": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r1102": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 10-Q",
   "Number": "240",
   "Section": "308",
   "Subsection": "a"
  },
  "r1103": {
   "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"
  },
  "r1104": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-T",
   "Number": "232",
   "Section": "405"
  },
  "r1105": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Securities Act",
   "Number": "7A",
   "Section": "B",
   "Subsection": "2"
  },
  "r1106": {
   "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"
  },
  "r1107": {
   "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"
  },
  "r1108": {
   "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"
  },
  "r1109": {
   "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"
  },
  "r1110": {
   "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"
  },
  "r1111": {
   "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"
  },
  "r1112": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4CC",
   "SubTopic": "10",
   "Topic": "815",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480434/815-10-50-4CC"
  },
  "r1113": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "4H",
   "SubTopic": "40",
   "Topic": "944",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480081/944-40-50-4H"
  },
  "r1114": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "4",
   "Subparagraph": "(SAB Topic 6.L.1)",
   "SubTopic": "10",
   "Topic": "310",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147480418/310-10-S99-4"
  },
  "r1115": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r1116": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1117": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r1118": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(b)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r1119": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(i)",
   "Publisher": "SEC"
  },
  "r1120": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(ii)",
   "Publisher": "SEC"
  },
  "r1121": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1402",
   "Paragraph": "(c)",
   "Subparagraph": "(2)(iii)",
   "Publisher": "SEC"
  },
  "r1122": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1404",
   "Paragraph": "(a)",
   "Publisher": "SEC"
  },
  "r1123": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(1)",
   "Publisher": "SEC"
  },
  "r1124": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(2)",
   "Publisher": "SEC"
  },
  "r1125": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Section": "1405",
   "Paragraph": "(a)",
   "Subparagraph": "(3)",
   "Publisher": "SEC"
  },
  "r1126": {
   "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"
  },
  "r1127": {
   "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"
  },
  "r1128": {
   "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"
  },
  "r1129": {
   "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"
  },
  "r1130": {
   "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"
  },
  "r1131": {
   "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"
  },
  "r1132": {
   "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(b)(4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147483621/220-10-S99-2"
  },
  "r1133": {
   "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"
  },
  "r1134": {
   "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"
  },
  "r1135": {
   "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"
  },
  "r1136": {
   "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"
  },
  "r1137": {
   "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"
  },
  "r1138": {
   "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"
  },
  "r1139": {
   "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"
  },
  "r1140": {
   "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"
  },
  "r1141": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1142": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1143": {
   "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"
  },
  "r1144": {
   "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"
  },
  "r1145": {
   "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"
  },
  "r1146": {
   "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"
  },
  "r1147": {
   "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"
  },
  "r1148": {
   "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"
  },
  "r1149": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1150": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1151": {
   "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"
  },
  "r1152": {
   "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"
  },
  "r1153": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1154": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "310",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//310-30/tableOfContent"
  },
  "r1155": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "320",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "45",
   "Paragraph": "1",
   "Subparagraph": "(a)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147481830/320-10-45-1"
  },
  "r1156": {
   "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"
  },
  "r1157": {
   "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"
  },
  "r1158": {
   "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"
  },
  "r1159": {
   "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"
  },
  "r1160": {
   "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"
  },
  "r1161": {
   "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"
  },
  "r1162": {
   "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"
  },
  "r1163": {
   "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"
  },
  "r1164": {
   "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"
  },
  "r1165": {
   "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"
  },
  "r1166": {
   "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"
  },
  "r1167": {
   "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"
  },
  "r1168": {
   "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"
  },
  "r1169": {
   "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"
  },
  "r1170": {
   "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"
  },
  "r1171": {
   "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"
  },
  "r1172": {
   "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"
  },
  "r1173": {
   "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"
  },
  "r1174": {
   "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"
  },
  "r1175": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//326-20/tableOfContent"
  },
  "r1176": {
   "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"
  },
  "r1177": {
   "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"
  },
  "r1178": {
   "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"
  },
  "r1179": {
   "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"
  },
  "r1180": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "326",
   "SubTopic": "30",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//326-30/tableOfContent"
  },
  "r1181": {
   "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"
  },
  "r1182": {
   "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"
  },
  "r1183": {
   "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"
  },
  "r1184": {
   "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"
  },
  "r1185": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "450",
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//450/tableOfContent"
  },
  "r1186": {
   "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"
  },
  "r1187": {
   "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"
  },
  "r1188": {
   "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"
  },
  "r1189": {
   "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"
  },
  "r1190": {
   "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"
  },
  "r1191": {
   "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"
  },
  "r1192": {
   "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"
  },
  "r1193": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "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"
  },
  "r1194": {
   "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"
  },
  "r1195": {
   "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"
  },
  "r1196": {
   "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"
  },
  "r1197": {
   "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"
  },
  "r1198": {
   "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"
  },
  "r1199": {
   "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"
  },
  "r1200": {
   "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"
  },
  "r1201": {
   "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"
  },
  "r1202": {
   "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"
  },
  "r1203": {
   "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"
  },
  "r1204": {
   "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"
  },
  "r1205": {
   "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"
  },
  "r1206": {
   "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"
  },
  "r1207": {
   "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"
  },
  "r1208": {
   "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"
  },
  "r1209": {
   "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"
  },
  "r1210": {
   "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"
  },
  "r1211": {
   "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"
  },
  "r1212": {
   "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"
  },
  "r1213": {
   "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"
  },
  "r1214": {
   "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"
  },
  "r1215": {
   "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"
  },
  "r1216": {
   "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"
  },
  "r1217": {
   "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"
  },
  "r1218": {
   "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"
  },
  "r1219": {
   "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"
  },
  "r1220": {
   "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"
  },
  "r1221": {
   "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"
  },
  "r1222": {
   "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"
  },
  "r1223": {
   "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"
  },
  "r1224": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "740",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482685/740-10-50-2"
  },
  "r1225": {
   "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"
  },
  "r1226": {
   "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"
  },
  "r1227": {
   "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"
  },
  "r1228": {
   "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"
  },
  "r1229": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "820",
   "SubTopic": "10",
   "Name": "Accounting Standards Codification",
   "Section": "50",
   "Paragraph": "2",
   "Subparagraph": "(bbb)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147482106/820-10-50-2"
  },
  "r1230": {
   "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"
  },
  "r1231": {
   "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"
  },
  "r1232": {
   "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"
  },
  "r1233": {
   "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"
  },
  "r1234": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "842",
   "SubTopic": "20",
   "Name": "Accounting Standards Codification",
   "Section": "25",
   "Paragraph": "6",
   "Subparagraph": "(c)",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479365/842-20-25-6"
  },
  "r1235": {
   "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"
  },
  "r1236": {
   "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"
  },
  "r1237": {
   "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"
  },
  "r1238": {
   "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"
  },
  "r1239": {
   "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"
  },
  "r1240": {
   "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"
  },
  "r1241": {
   "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"
  },
  "r1242": {
   "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"
  },
  "r1243": {
   "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"
  },
  "r1244": {
   "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"
  },
  "r1245": {
   "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"
  },
  "r1246": {
   "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"
  },
  "r1247": {
   "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"
  },
  "r1248": {
   "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/2147479853/942-210-S99-1"
  },
  "r1249": {
   "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)(2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479853/942-210-S99-1"
  },
  "r1250": {
   "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/2147479853/942-210-S99-1"
  },
  "r1251": {
   "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/2147480832/942-320-50-2"
  },
  "r1252": {
   "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/2147479440/944-210-S99-1"
  },
  "r1253": {
   "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/2147479440/944-210-S99-1"
  },
  "r1254": {
   "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/2147479440/944-210-S99-1"
  },
  "r1255": {
   "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"
  },
  "r1256": {
   "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"
  },
  "r1257": {
   "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/2147480767/946-205-45-4"
  },
  "r1258": {
   "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/2147480524/946-210-50-6"
  },
  "r1259": {
   "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/2147479617/946-210-S99-1"
  },
  "r1260": {
   "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/2147483581/946-220-45-3"
  },
  "r1261": {
   "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/2147483575/946-220-S99-3"
  },
  "r1262": {
   "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/2147483575/946-220-S99-3"
  },
  "r1263": {
   "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/2147480833/946-310-45-1"
  },
  "r1264": {
   "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/2147480032/946-320-S99-1"
  },
  "r1265": {
   "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/2147480228/946-830-45-39"
  },
  "r1266": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "948",
   "SubTopic": "310",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479851/948-310-S99-1"
  },
  "r1267": {
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef",
   "Topic": "970",
   "SubTopic": "360",
   "Name": "Accounting Standards Codification",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Publisher": "FASB",
   "URI": "https://asc.fasb.org//1943274/2147479438/970-360-S99-1"
  }
 }
}
