{
 "instance": {
  "by-20211231.htm": {
   "axisCustom": 0,
   "axisStandard": 48,
   "contextCount": 745,
   "dts": {
    "calculationLink": {
     "local": [
      "by-20211231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "by-20211231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "by-20211231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "by-20211231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "by-20211231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "by-20211231.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/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/srt/2021/elts/srt-types-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-roles-2021-01-31.xsd",
      "https://xbrl.fasb.org/us-gaap/2021/elts/us-types-2021-01-31.xsd",
      "https://xbrl.sec.gov/country/2021/country-2021.xsd",
      "https://xbrl.sec.gov/dei/2021q4/dei-2021q4.xsd",
      "https://xbrl.sec.gov/stpr/2021/stpr-2021.xsd"
     ]
    }
   },
   "elementCount": 1276,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 28,
    "http://www.bylinebank.com/20211231": 3,
    "http://xbrl.sec.gov/dei/2021q4": 4,
    "total": 35
   },
   "keyCustom": 200,
   "keyStandard": 684,
   "memberCustom": 67,
   "memberStandard": 83,
   "nsprefix": "by",
   "nsuri": "http://www.bylinebank.com/20211231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "100000 - Document - Document And Entity Information",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100100 - Disclosure - Acquisition of a Business",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusiness",
     "shortName": "Acquisition of a Business",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessCombinationDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Leases - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
     "shortName": "Leases - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BuildingsAndImprovementsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - Disclosure - Premises and Equipment and Assets Held For Sale - Schedule for Classification of Premises and Equipment (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails",
     "shortName": "Premises and Equipment and Assets Held For Sale - Schedule for Classification of Premises and Equipment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PropertyPlantAndEquipmentTextBlock",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BuildingsAndImprovementsGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Premises and Equipment and Assets Held For Sale - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleAdditionalInformationDetails",
     "shortName": "Premises and Equipment and Assets Held For Sale - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:NumberOfStores",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Item",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Premises and Equipment and Assets Held For Sale - Change in Assets Held for Sale (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleChangeInAssetsHeldForSaleDetails",
     "shortName": "Premises and Equipment and Assets Held For Sale - Change in Assets Held for Sale (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f5269f00-17c5-4693-8097-5ec4f3e651c3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AssetsOfDisposalGroupIncludingDiscontinuedOperation",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets - Summary of Changes in Goodwill and Core Deposit Intangible Assets (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets - Summary of Changes in Goodwill and Core Deposit Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a1bf2275-8808-453c-a215-f1b6b3cf7fb2",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:GoodwillAcquiredDuringPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets - Estimated Amortization Expense for Core Deposit Intangible and Other Intangible Assets Recognized (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets - Estimated Amortization Expense for Core Deposit Intangible and Other Intangible Assets Recognized (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Income Taxes - Provision for income taxes (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails",
     "shortName": "Income Taxes - Provision for income taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CurrentFederalTaxExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101090 - Disclosure - Income Taxes - Reconciliation between statutory and effective tax rate (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails",
     "shortName": "Income Taxes - Reconciliation between statutory and effective tax rate (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101100 - Disclosure - Income Taxes - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
     "shortName": "Income Taxes - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:DeferredTaxAssetsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101110 - Disclosure - Income Taxes - Deferred tax assets and liabilities (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails",
     "shortName": "Income Taxes - Deferred tax assets and liabilities (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100110 - Disclosure - Securities",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecurities",
     "shortName": "Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_1f435cf9-2cfb-4a25-87b0-a7447d04552b",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101120 - Disclosure - Income Taxes - Operating loss and credit carryforwards (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails",
     "shortName": "Income Taxes - Operating loss and credit carryforwards (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_1f435cf9-2cfb-4a25-87b0-a7447d04552b",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLossCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_4de25ccc-3238-48a7-af26-0957d036cbe3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:OperatingLossCarryforwardsExpirationYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101130 - Disclosure - Income Taxes - Operating loss and credit carryforwards (Parenthetical) (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails",
     "shortName": "Income Taxes - Operating loss and credit carryforwards (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryOfOperatingLossCarryforwardsTextBlock",
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_4de25ccc-3238-48a7-af26-0957d036cbe3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:OperatingLossCarryforwardsExpirationYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:PaycheckProtectionProgramLiquidityFacility",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101140 - Disclosure - Other Borrowings - Summary of Other Borrowings (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
     "shortName": "Other Borrowings - Summary of Other Borrowings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:PaycheckProtectionProgramLiquidityFacility",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101150 - Disclosure - Other Borrowings - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
     "shortName": "Other Borrowings - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "by:FederalReserveBankDiscountWindowBorrowing",
       "span",
       "p",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "by:FederalReserveBankDiscountWindowBorrowing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c4953241-6505-43df-818c-7e6cc4b3ff8a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101160 - Disclosure - Other Borrowings - Summary of Short-term Credit Lines Available for Use (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
     "shortName": "Other Borrowings - Summary of Short-term Credit Lines Available for Use (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c4953241-6505-43df-818c-7e6cc4b3ff8a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NoninterestBearingDomesticDepositDemand",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101170 - Disclosure - Deposits - Schedule of Deposits (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails",
     "shortName": "Deposits - Schedule of Deposits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfDepositsTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestBearingDomesticDepositChecking",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101180 - Disclosure - Deposits - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails",
     "shortName": "Deposits - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:TimeDepositMaturitiesTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101190 - Disclosure - Deposits - Scheduled Maturities of Time Deposits (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails",
     "shortName": "Deposits - Scheduled Maturities of Time Deposits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:TimeDepositMaturitiesTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101200 - Disclosure - Subordinated Notes and Junior Subordinated Debentures - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_6cc2ac4d-6007-492c-868a-ebc2fa11997c",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101210 - Disclosure - Subordinated Notes and Junior Subordinated Debentures - Junior Subordinated Debentures by Issuance (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures - Junior Subordinated Debentures by Issuance (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_6b4dca9c-6c5b-401c-a952-785a2aaab0f8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100120 - Disclosure - Loans and Lease Receivables",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivables",
     "shortName": "Loans and Lease Receivables",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanEmployerDiscretionaryContributionAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101220 - Disclosure - Employee Benefit Plans - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
     "shortName": "Employee Benefit Plans - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DefinedContributionPlanEmployerDiscretionaryContributionAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101230 - Disclosure - Commitments and Contingent Liabilities - Summary of Contract or Notional Amount of Outstanding Loan and Lease Commitments (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
     "shortName": "Commitments and Contingent Liabilities - Summary of Contract or Notional Amount of Outstanding Loan and Lease Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "ix:continuation",
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:LeaseAndRentalExpense",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101240 - Disclosure - Commitments and Contingent Liabilities - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
     "shortName": "Commitments and Contingent Liabilities - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "lang": "en-US",
      "name": "by:FixedRateLoanCommitmentsMaturitiesEndingYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101250 - Disclosure - Fair Value Measurement - Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
     "shortName": "Fair Value Measurement - Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_b44c2c9d-2857-45d4-bd05-2ad4ae2f2707",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FairValueEquityToOrFromLevelThreeTransfersAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101260 - Disclosure - Fair Value Measurement - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails",
     "shortName": "Fair Value Measurement - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FairValueEquityToOrFromLevelThreeTransfersAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_734f4f12-0b1f-41f9-92ea-2c4daca224f5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101270 - Disclosure - Fair Value Measurement - Summary of Financial Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
     "shortName": "Fair Value Measurement - Summary of Financial Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_eff9d9a6-fb1d-4468-836f-17eb6f1ccfa9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_31be4696-ae82-489c-849b-bbed0b00c1b3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101280 - Disclosure - Fair Value Measurement - Summary of Unobservable Inputs Used in the Fair Value Measurements on Recurring Basis (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
     "shortName": "Fair Value Measurement - Summary of Unobservable Inputs Used in the Fair Value Measurements on Recurring Basis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_31be4696-ae82-489c-849b-bbed0b00c1b3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R127": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101290 - Disclosure - Fair Value Measurement - Summary of Assets Measured at Fair Value on Non-Recurring Basis, Excluding Acquired Impaired Loans (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
     "shortName": "Fair Value Measurement - Summary of Assets Measured at Fair Value on Non-Recurring Basis, Excluding Acquired Impaired Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_293bd30f-2e1f-4217-99d6-0ea9ca9ae9f6",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R128": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101300 - Disclosure - Fair Value Measurement - Summary of Estimated Fair Values of Financial Instruments (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
     "shortName": "Fair Value Measurement - Summary of Estimated Fair Values of Financial Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_92fb3868-dd25-4c21-a04a-ca7248b81394",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R129": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueByBalanceSheetGroupingTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101310 - Disclosure - Fair Value Measurement - Summary of Estimated Fair Values of Financial Instruments (Parenthetical) (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsParentheticalDetails",
     "shortName": "Fair Value Measurement - Summary of Estimated Fair Values of Financial Instruments (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitments",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R130": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101320 - Disclosure - Share-Based Compensation - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
     "shortName": "Share-Based Compensation - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_e0ba6794-b505-47f9-bb82-04173d463f41",
      "decimals": "INF",
      "lang": null,
      "name": "by:BusinessCombinationConversionOfOutstandingOptions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R131": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_8edbd8e1-5753-4a82-927e-6b7d5b85bd71",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101330 - Disclosure - Share-Based Compensation - Summary of Changes in Restricted Shares (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
     "shortName": "Share-Based Compensation - Summary of Changes in Restricted Shares (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_00aa4395-5017-4d53-8f3b-c1b250ab625b",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R132": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c20b8c32-4b1b-4e66-b6da-b58cc18c7968",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:AllocatedShareBasedCompensationExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101340 - Disclosure - Share-Based Compensation - Summary of Stock Compensation Expense (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
     "shortName": "Share-Based Compensation - Summary of Stock Compensation Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c20b8c32-4b1b-4e66-b6da-b58cc18c7968",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:AllocatedShareBasedCompensationExpenseBenefit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R133": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c3893581-584f-498f-b796-f277e75e3a2a",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101350 - Disclosure - Share-Based Compensation - Summary Activity in shares Subjected to Options and Weighted Average Exercise Prices (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
     "shortName": "Share-Based Compensation - Summary Activity in shares Subjected to Options and Weighted Average Exercise Prices (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_675b3ba3-1f59-4892-83cc-1d31da218d43",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R134": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "ix:continuation",
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101360 - Disclosure - Related Party Transactions - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails",
     "shortName": "Related Party Transactions - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "ix:continuation",
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:AccountsReceivableRelatedParties",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R135": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Capital",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101370 - Disclosure - Regulatory Capital Requirements (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails",
     "shortName": "Regulatory Capital Requirements (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Capital",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R136": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_b512f22a-3922-4ec2-b7d6-47f43d002b86",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromDividendsReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101380 - Disclosure - Regulatory Capital Requirements - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails",
     "shortName": "Regulatory Capital Requirements - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_b512f22a-3922-4ec2-b7d6-47f43d002b86",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromDividendsReceived",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R137": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101390 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Derivative Financial Instruments and Classification on Consolidated Statements of Financial Condition (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Derivative Financial Instruments and Classification on Consolidated Statements of Financial Condition (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_19a2df88-884f-4eb1-98c2-507631bce0f5",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R138": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101400 - Disclosure - Derivative Instruments and Hedge Activities - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
     "shortName": "Derivative Instruments and Hedge Activities - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R139": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101410 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Cash Flow Hedges (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Cash Flow Hedges (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfCashFlowHedgesTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_55eca047-28bf-45da-8159-268ef2b20932",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Servicing Assets",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssets",
     "shortName": "Servicing Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R140": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101420 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations Relating to Cash Flow Derivative Instruments (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations Relating to Cash Flow Derivative Instruments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_bf5658de-0613-48ea-9343-bb71c8240d76",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R141": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101430 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Other Interest Rate Derivatives (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Other Interest Rate Derivatives (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfOtherInterestRateDerivativesTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_d6ba3c83-aaf3-478b-88a2-2d278481a120",
      "decimals": "4",
      "lang": null,
      "name": "by:DerivativeWeightedAverageReceiveRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R142": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101440 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations Relating to Derivative Instruments not Designated in Hedging Relationship (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations Relating to Derivative Instruments not Designated in Hedging Relationship (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R143": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101450 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Company's Interest Rate Derivative and Offsetting Positions (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Company's Interest Rate Derivative and Offsetting Positions (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R144": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherAssets",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101460 - Disclosure - Parent Company Only Condensed Financial Statements - Statements of Financial Condition (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
     "shortName": "Parent Company Only Condensed Financial Statements - Statements of Financial Condition (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedFinancialStatementsTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_2132dd1e-85be-4571-bbb0-dce3c2479386",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:Cash",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R145": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NoninterestIncomeOther",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101470 - Disclosure - Parent Company Only Condensed Financial Statements - Statements of Financial Operations (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
     "shortName": "Parent Company Only Condensed Financial Statements - Statements of Financial Operations (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedFinancialStatementsTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_53c83d3a-54a9-49ed-985f-7cee28df2956",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashDividendsPaidToParentCompanyByUnconsolidatedSubsidiaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R146": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101480 - Disclosure - Parent Company Only Condensed Financial Statements - Statements of Financial Cash Flow (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
     "shortName": "Parent Company Only Condensed Financial Statements - Statements of Financial Cash Flow (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "srt:ScheduleOfCondensedFinancialStatementsTableTextBlock",
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a1bf2275-8808-453c-a215-f1b6b3cf7fb2",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ProceedsFromLinesOfCredit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R147": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101490 - Disclosure - Earnings per Share - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
     "shortName": "Earnings per Share - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R148": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101500 - Disclosure - Earnings per Share - Schedule of Calculation of Basic and Diluted Earnings per Share (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
     "shortName": "Earnings per Share - Schedule of Calculation of Basic and Diluted Earnings per Share (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R149": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101510 - Disclosure - Stockholders' Equity - Summary of Preferred and Common Stock (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
     "shortName": "Stockholders' Equity - Summary of Preferred and Common Stock (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:CommonStockSharesOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Other Real Estate Owned",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwned",
     "shortName": "Other Real Estate Owned",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R150": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_76c50a45-525f-442c-90bf-8864ae7384bc",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockDividendRatePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101520 - Disclosure - Stockholders' Equity - Summary of Preferred and Common Stock (Parenthetical) (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockParentheticalDetails",
     "shortName": "Stockholders' Equity - Summary of Preferred and Common Stock (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_76c50a45-525f-442c-90bf-8864ae7384bc",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockDividendRatePercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R151": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsOfDividendsPreferredStockAndPreferenceStock",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101530 - Disclosure - Stockholders' Equity - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
     "shortName": "Stockholders' Equity - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R152": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101540 - Disclosure - Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) - Schedule of Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
     "shortName": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) - Schedule of Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_d6be4096-4544-4dc0-90bc-04421bb5960a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Premises and Equipment and Assets Held for Sale",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSale",
     "shortName": "Premises and Equipment and Assets Held for Sale",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Leases",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssets",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Income Taxes",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION",
     "shortName": "CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Other Borrowings",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowings",
     "shortName": "Other Borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Deposits",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDeposits",
     "shortName": "Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c20b8c32-4b1b-4e66-b6da-b58cc18c7968",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Subordinated Notes and Junior Subordinated Debentures",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebentures",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c20b8c32-4b1b-4e66-b6da-b58cc18c7968",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Employee Benefit Plans",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlans",
     "shortName": "Employee Benefit Plans",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Commitments and Contingent Liabilities",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilities",
     "shortName": "Commitments and Contingent Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Fair Value Measurement",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "shortName": "Fair Value Measurement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Share-Based Compensation",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensation",
     "shortName": "Share-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Related Party Transactions",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRelatedPartyTransactions",
     "shortName": "Related Party Transactions",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Regulatory Capital Requirements",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirements",
     "shortName": "Regulatory Capital Requirements",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Derivative Instruments and Hedge Activities",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivities",
     "shortName": "Derivative Instruments and Hedge Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100030 - Statement - CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (Parenthetical)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical",
     "shortName": "CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Parent Company Only Condensed Financial Statements",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatements",
     "shortName": "Parent Company Only Condensed Financial Statements",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Earnings per Share",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShare",
     "shortName": "Earnings per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c20b8c32-4b1b-4e66-b6da-b58cc18c7968",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Stockholders' Equity",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquity",
     "shortName": "Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_c20b8c32-4b1b-4e66-b6da-b58cc18c7968",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLoss",
     "shortName": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:NatureOfBusinessPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Business and Summary of Significant Accounting Policies (Policies)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies",
     "shortName": "Business and Summary of Significant Accounting Policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:NatureOfBusinessPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Acquisition of a Business (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessTables",
     "shortName": "Acquisition of a Business (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Securities (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesTables",
     "shortName": "Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Loans and Lease Receivables (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables",
     "shortName": "Loans and Lease Receivables (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Servicing Assets (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsTables",
     "shortName": "Servicing Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS",
     "shortName": "CONSOLIDATED STATEMENTS OF OPERATIONS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Other Real Estate Owned (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedTables",
     "shortName": "Other Real Estate Owned (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Leases (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LeaseCostTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Premises and Equipment and Assets Held for Sale (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleTables",
     "shortName": "Premises and Equipment and Assets Held for Sale (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:PropertyPlantAndEquipmentDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Income Taxes (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesTables",
     "shortName": "Income Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Other Borrowings (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsTables",
     "shortName": "Other Borrowings (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Deposits (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsTables",
     "shortName": "Deposits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Subordinated Notes and Junior Subordinated Debentures (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesTables",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Commitments and Contingent Liabilities (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesTables",
     "shortName": "Commitments and Contingent Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Fair Value Measurement (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "shortName": "Fair Value Measurement (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100050 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME",
     "shortName": "CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Share-Based Compensation (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
     "shortName": "Share-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Regulatory Capital Requirements (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsTables",
     "shortName": "Regulatory Capital Requirements (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Derivative Instruments and Hedge Activities (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables",
     "shortName": "Derivative Instruments and Hedge Activities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedFinancialStatementsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Parent Company Only Condensed Financial Statements (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsTables",
     "shortName": "Parent Company Only Condensed Financial Statements (Tables)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "srt:ScheduleOfCondensedFinancialStatementsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Earnings per Share (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareTables",
     "shortName": "Earnings per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - Disclosure - Stockholders' Equity (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityTables",
     "shortName": "Stockholders' Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Tables)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossTables",
     "shortName": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:NatureOfBusinessPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_e15da534-1067-41dd-862d-22d9f4404072",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:NumberOfBankBranches",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Item",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Business and Summary of Significant Accounting Policies - Nature of business (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Nature of business (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:NatureOfBusinessPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_e15da534-1067-41dd-862d-22d9f4404072",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:NumberOfBankBranches",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Item",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:ReserveRequirementCashAndCashEquivalentsBank",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Business and Summary of Significant Accounting Policies - Cash and cash equivalents (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCashAndCashEquivalentsDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Cash and cash equivalents (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CashAndCashEquivalentsPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:ReserveRequirementCashAndCashEquivalentsBank",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_fbd884ff-ea44-4df7-aaca-738b99cf4ca8",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Business and Summary of Significant Accounting Policies - Premises and equipment (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Premises and equipment (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:PropertyPlantAndEquipmentPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_fbd884ff-ea44-4df7-aaca-738b99cf4ca8",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:PropertyPlantAndEquipmentUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f5269f00-17c5-4693-8097-5ec4f3e651c3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100060 - Statement - CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS EQUITY",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY",
     "shortName": "CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS EQUITY",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a61ce986-b06b-489d-8f03-9a4e0b481711",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Business and Summary of Significant Accounting Policies - Goodwill (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesGoodwillDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Goodwill (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsGoodwillPolicy",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:GoodwillImpairmentLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_fbd884ff-ea44-4df7-aaca-738b99cf4ca8",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Business and Summary of Significant Accounting Policies - Other intangible assets (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Other intangible assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_fbd884ff-ea44-4df7-aaca-738b99cf4ca8",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:CustomerRelationshipIntangiblesPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_926b7363-56fb-40e3-8d54-6d9c9de8cf86",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Business and Summary of Significant Accounting Policies - Customer Relationship Intangibles (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Customer Relationship Intangibles (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:CustomerRelationshipIntangiblesPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_926b7363-56fb-40e3-8d54-6d9c9de8cf86",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FiniteLivedIntangibleAssetUsefulLife",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:UncertainTaxPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Business and Summary of Significant Accounting Policies - Income taxes (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesIncomeTaxesDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Income taxes (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:UncertainTaxPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Segment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - Disclosure - Business and Summary of Significant Accounting Policies - Segment reporting (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesSegmentReportingDetails",
     "shortName": "Business and Summary of Significant Accounting Policies - Segment reporting (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:SegmentReportingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Segment",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Accounting Pronouncements Recently Issued - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
     "shortName": "Accounting Pronouncements Recently Issued - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "div",
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_025b6b3e-1541-4545-8a92-4f864867401d",
      "decimals": "-8",
      "lang": null,
      "name": "us-gaap:DebtInstrumentCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - Disclosure - Acquisition of a Business - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
     "shortName": "Acquisition of a Business - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_7bcd6b8b-1ace-40e5-a961-6bae719ca74b",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:BusinessAcquisitionDateOfAcquisitionAgreement1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Acquisition of a Business - Summary of Estimated Fair Values of Assets and Liabilities Assumed as of Acquisition Date (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
     "shortName": "Acquisition of a Business - Summary of Estimated Fair Values of Assets and Liabilities Assumed as of Acquisition Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_08adc7e1-295f-45de-9b75-b0a2d786449e",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a1fe241a-43d6-4ea9-802c-db1739c9dd1b",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - Disclosure - Acquisition of a Business - Summary of Estimated Fair Values of Assets and Liabilities Assumed as of Acquisition Date (Parenthetical) (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
     "shortName": "Acquisition of a Business - Summary of Estimated Fair Values of Assets and Liabilities Assumed as of Acquisition Date (Parenthetical) (Details)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_08adc7e1-295f-45de-9b75-b0a2d786449e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessCombinationAcquiredReceivablesFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Acquisition of a Business - Summary of Acquired Non-Impaired Loans as of Acquisition Date (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails",
     "shortName": "Acquisition of a Business - Summary of Acquired Non-Impaired Loans as of Acquisition Date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_08adc7e1-295f-45de-9b75-b0a2d786449e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessCombinationAcquiredReceivablesFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
     "shortName": "CONSOLIDATED STATEMENTS OF CASH FLOWS",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "lang": null,
      "name": "by:ImpairmentLossOnPremisesAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a1bf2275-8808-453c-a215-f1b6b3cf7fb2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - Disclosure - Acquisition of a Business - Summary of Pro Forma Information for Results of Operations (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfProFormaInformationForResultsOfOperationsDetails",
     "shortName": "Acquisition of a Business - Summary of Pro Forma Information for Results of Operations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:BusinessAcquisitionProFormaInformationTextBlock",
       "div",
       "us-gaap:BusinessCombinationDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a1bf2275-8808-453c-a215-f1b6b3cf7fb2",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:BusinessAcquisitionsProFormaRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryInvestmentHoldingsTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - Disclosure - Securities - Summary of Amortized Cost and Fair Values of Securities Available-for-sale (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
     "shortName": "Securities - Summary of Amortized Cost and Fair Values of Securities Available-for-sale (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryInvestmentHoldingsTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecurities",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - Disclosure - Securities - Summary of Amortized Cost and Fair Values of Securities Held-to-maturity (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
     "shortName": "Securities - Summary of Amortized Cost and Fair Values of Securities Held-to-maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryInvestmentHoldingsTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:RetainedEarningsAccumulatedDeficit",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Securities - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
     "shortName": "Securities - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "INF",
      "lang": null,
      "name": "by:NumberOfInvestmentSecuritiesWithUnrealizedLosses",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Security",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Security",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - 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)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
     "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)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Security",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Securities - Summary of Proceeds From Sales and Calls of Securities Available-for-sale and Associated Gains and Losses (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails",
     "shortName": "Securities - Summary of Proceeds From Sales and Calls of Securities Available-for-sale and Associated Gains and Losses (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Securities - Schedule of Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
     "shortName": "Securities - Schedule of Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Loans and Lease Receivables - Schedule of Outstanding Loan and Lease Receivables (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
     "shortName": "Loans and Lease Receivables - Schedule of Outstanding Loan and Lease Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableDeferredIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Loans and Lease Receivables - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
     "shortName": "Loans and Lease Receivables - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-8",
      "lang": null,
      "name": "us-gaap:LoansPledgedAsCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Loans and Lease Receivables - Summary of Minimum Annual Lease Payments for Lease Financing Receivables (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails",
     "shortName": "Loans and Lease Receivables - Summary of Minimum Annual Lease Payments for Lease Financing Receivables (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100080 - Disclosure - Business and Summary of Significant Accounting Policies",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPolicies",
     "shortName": "Business and Summary of Significant Accounting Policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100820 - Disclosure - Loans and Lease Receivables - Summary of Balances for Each Respective Loan and Lease Category (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
     "shortName": "Loans and Lease Receivables - Summary of Balances for Each Respective Loan and Lease Category (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_7b0a8d18-9cd8-4a22-87e7-fc5857c0c2ec",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_2f88c8aa-cfe4-461f-9c62-3071862a1134",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Loans and Lease Receivables - Estimated Fair Value of Impaired Loans Acquired at Acquisition (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
     "shortName": "Loans and Lease Receivables - Estimated Fair Value of Impaired Loans Acquired at Acquisition (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_5b8c15a8-fcc1-4705-b484-3760b9a94757",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfCertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAndCarryingAmountTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_2f88c8aa-cfe4-461f-9c62-3071862a1134",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Loans and Lease Receivables - Summary of Outstanding Balance and Carrying Amount of All Acquired Impaired Loans (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails",
     "shortName": "Loans and Lease Receivables - Summary of Outstanding Balance and Carrying Amount of All Acquired Impaired Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfCertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAndCarryingAmountTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_2f88c8aa-cfe4-461f-9c62-3071862a1134",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangesInAccretableYieldForAcquiredImpairmentLoansTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Loans and Lease Receivables - Summary of Changes in Accretable Yield for Acquired Impaired Loans (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails",
     "shortName": "Loans and Lease Receivables - Summary of Changes in Accretable Yield for Acquired Impaired Loans (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangesInAccretableYieldForAcquiredImpairmentLoansTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f5269f00-17c5-4693-8097-5ec4f3e651c3",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Loans and Lease Receivables - Schedule of Unpaid Principal Balance and Carrying Value for Acquired Non-impaired Loans and Leases (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
     "shortName": "Loans and Lease Receivables - Schedule of Unpaid Principal Balance and Carrying Value for Acquired Non-impaired Loans and Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_e88d4ead-4ee1-4098-b4e4-80b0f72fcc87",
      "decimals": "-3",
      "lang": null,
      "name": "by:LoansAndLeasesReceivableUnpaidPrincipalBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Allowance for Loan and Lease Losses and Corresponding Loan and Lease Balances (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Allowance for Loan and Lease Losses and Corresponding Loan and Lease Balances (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesWriteOffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_8df2d5ad-43c0-44bd-9101-8aa42716527e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Recorded Investment, Unpaid Principal Balance, and Related Allowance for Loans and Leases Considered Impaired (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Recorded Investment, Unpaid Principal Balance, and Related Allowance for Loans and Leases Considered Impaired (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_8df2d5ad-43c0-44bd-9101-8aa42716527e",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Risk Rating Categories of Loans and Leases Considered for Inclusion in Allowance for Loan and Lease Losses Calculation (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Risk Rating Categories of Loans and Leases Considered for Inclusion in Allowance for Loan and Lease Losses Calculation (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FinancingReceivableCreditQualityIndicatorsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_1e8b4273-5c8e-4272-910c-57ed5198dea8",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Contractual Delinquency Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Contractual Delinquency Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:PastDueFinancingReceivablesTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_874d70be-aadd-4cdb-ab6e-f0e2d745a073",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100090 - Disclosure - Accounting Pronouncements Recently Issued",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyIssued",
     "shortName": "Accounting Pronouncements Recently Issued",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Loan",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of TDR's by Loan Category (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of TDR's by Loan Category (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Loan",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfLoansModifiedAsTroubledDebtRestructuringsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FinancingReceivableModificationsRecordedInvestmentAccruing",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Loans Modified as Troubled Debt Restructurings (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Loans Modified as Troubled Debt Restructurings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfLoansModifiedAsTroubledDebtRestructuringsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f5269f00-17c5-4693-8097-5ec4f3e651c3",
      "decimals": "-3",
      "lang": null,
      "name": "by:FinancingReceivableModificationsRecordedInvestmentAccruing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangeInBalanceForReserveForUnfundedCommitmentsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:ReserveForUnfundedCommitments",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Change in Balance for Reserve for Unfunded Commitments (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Change in Balance for Reserve for Unfunded Commitments (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangeInBalanceForReserveForUnfundedCommitmentsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "lang": null,
      "name": "by:ProvisionRecaptureForUnfundedCommitments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Servicing Assets - Activity for Servicing Assets and Related Changes in Fair Value (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
     "shortName": "Servicing Assets - Activity for Servicing Assets and Related Changes in Fair Value (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueAdditions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrincipalAmountOutstandingOfLoansHeldInPortfolio",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Servicing Assets - Unpaid Principal Balances of Loans Serviced for Others (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails",
     "shortName": "Servicing Assets - Unpaid Principal Balances of Loans Serviced for Others (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrincipalAmountOutstandingOfLoansHeldInPortfolio",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Servicing Assets - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
     "shortName": "Servicing Assets - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f3035536-c034-49fc-938a-315377f3a6ab",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f8541b87-f303-4074-9a38-de73d6e5bb3a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100980 - Disclosure - Other Real Estate Owned - Change in Other Real Estate Owned (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails",
     "shortName": "Other Real Estate Owned - Change in Other Real Estate Owned (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "lang": null,
      "name": "by:OtherRealEstateAcquisitionThroughBusinessCombination",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - Disclosure - Other Real Estate Owned - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails",
     "shortName": "Other Real Estate Owned - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Leases - Summary of Lease Costs and Company's Operating Leases (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails",
     "shortName": "Leases - Summary of Lease Costs and Company's Operating Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_f7fae82f-f313-4e2f-a2e6-ce81fd893051",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - Disclosure - Leases - Schedule of Future Minimum Lease Payments for Operating Leases (Details)",
     "role": "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails",
     "shortName": "Leases - Schedule of Future Minimum Lease Payments for Operating Leases (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20211231.htm",
      "contextRef": "C_a0ebcb07-22bd-4841-8885-2b3b3f79e7e9",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 152,
   "tag": {
    "by_ATMAndInterchangeFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ATM and interchange fees.",
        "label": "A T M And Interchange Fees",
        "terseLabel": "ATM and interchange fees"
       }
      }
     },
     "localname": "ATMAndInterchangeFees",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AccretionOfPremiumsAndDiscountsOnAcquiredLoansNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 13.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accretion of premiums and discounts on acquired loans, net.",
        "label": "Accretion Of Premiums And Discounts On Acquired Loans Net",
        "negatedLabel": "Accretion of premiums and discounts on acquired loans, net"
       }
      }
     },
     "localname": "AccretionOfPremiumsAndDiscountsOnAcquiredLoansNet",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AccruingLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accruing loans.",
        "label": "Accruing Loans [Member]",
        "terseLabel": "Accruing"
       }
      }
     },
     "localname": "AccruingLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AcquiredImpairedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquired impaired loans.",
        "label": "Acquired Impaired Loans [Member]",
        "terseLabel": "Acquired Impaired Loans",
        "verboseLabel": "Acquired Impaired"
       }
      }
     },
     "localname": "AcquiredImpairedLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AcquiredImpairedLoansPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for acquired impaired loans.",
        "label": "Acquired Impaired Loans Policy Policy [Text Block]",
        "terseLabel": "Acquired impaired loans"
       }
      }
     },
     "localname": "AcquiredImpairedLoansPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_AcquiredNonImpairedAndOriginatedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquired non-impaired and originated loans.",
        "label": "Acquired Non Impaired And Originated Loans [Member]",
        "terseLabel": "Loans Excluding Acquired Impaired Loans",
        "verboseLabel": "Acquired Non-Impaired and Originated Loans"
       }
      }
     },
     "localname": "AcquiredNonImpairedAndOriginatedLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AcquiredNonImpairedLoansAndLeasesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquired non-impaired loans and leases.",
        "label": "Acquired Non Impaired Loans And Leases [Member]",
        "terseLabel": "Acquired Non-Impaired Loans and Leases"
       }
      }
     },
     "localname": "AcquiredNonImpairedLoansAndLeasesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AcquiredNonImpairedLoansAndLeasesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for acquired non-impaired loans and leases.",
        "label": "Acquired Non Impaired Loans And Leases Policy Policy [Text Block]",
        "terseLabel": "Acquired non-impaired loans and leases"
       }
      }
     },
     "localname": "AcquiredNonImpairedLoansAndLeasesPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_AcquiredNonImpairedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquired non-impaired loans.",
        "label": "Acquired Non Impaired Loans [Member]",
        "terseLabel": "Acquired Non-impaired Loans and Leases",
        "verboseLabel": "Acquired Non-Impaired"
       }
      }
     },
     "localname": "AcquiredNonImpairedLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AdditionalCapitalConservationBufferRequirementSubsequentYearsRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The additional capital conservation buffer ratio requirement in subsequent years.",
        "label": "Additional Capital Conservation Buffer Requirement Subsequent Years Ratio",
        "terseLabel": "Additional capital conservation buffer requirement subsequent years ratio"
       }
      }
     },
     "localname": "AdditionalCapitalConservationBufferRequirementSubsequentYearsRatio",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_AgencyCommercialMortgageBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency commercial mortgage backed securities.",
        "label": "Agency Commercial Mortgage Backed Securities [Member]",
        "terseLabel": "Agency, Commercial Mortgage-Backed Securities"
       }
      }
     },
     "localname": "AgencyCommercialMortgageBackedSecuritiesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AgencyResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency residential mortgage backed securities.",
        "label": "Agency Residential Mortgage Backed Securities [Member]",
        "terseLabel": "Agency, Residential Mortgage-Backed Securities"
       }
      }
     },
     "localname": "AgencyResidentialMortgageBackedSecuritiesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AllocatedShareBasedCompensationExpenseBenefit": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allocated share based compensation expense (benefit).",
        "label": "Allocated Share Based Compensation Expense Benefit",
        "terseLabel": "Total share-based compensation (benefit) - stock options"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpenseBenefit",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for loan and lease Losses and reserve for unfunded commitments.",
        "label": "Allowance For Loan And Lease Losses And Reserve For Unfunded Commitments Table [Text Block]",
        "terseLabel": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allowance for loan and leases and reserve for unfunded commitments.",
        "label": "Allowance For Loan And Leases And Reserve For Unfunded Commitments [Text Block]",
        "terseLabel": "Allowance for Loan and Leases and Reserve for Unfunded Commitments"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_AmendedCreditAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amended credit agreement.",
        "label": "Amended Credit Agreement [Member]",
        "terseLabel": "Amended Credit Agreement"
       }
      }
     },
     "localname": "AmendedCreditAgreementMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AmountOfGainLossRecognizedInOtherNonInterestIncomeIneffectivePortion": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in other non-interest income ineffective portion.",
        "label": "Amount Of Gain Loss Recognized In Other Non Interest Income Ineffective Portion",
        "terseLabel": "Amount of Gain (Loss) Recognized in Other Non-Interest Income"
       }
      }
     },
     "localname": "AmountOfGainLossRecognizedInOtherNonInterestIncomeIneffectivePortion",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AssetsHeldForSaleNotPartOfDisposalGroupExcludingLoansReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 11.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets held for sale not part of disposal group excluding loans receivable.",
        "label": "Assets Held For Sale Not Part Of Disposal Group Excluding Loans Receivable",
        "terseLabel": "Assets held for sale"
       }
      }
     },
     "localname": "AssetsHeldForSaleNotPartOfDisposalGroupExcludingLoansReceivable",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AssetsHeldForSalePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for assets held for sale.",
        "label": "Assets Held For Sale Policy Policy [Text Block]",
        "terseLabel": "Assets held for sale"
       }
      }
     },
     "localname": "AssetsHeldForSalePolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_AvailableFederalFundsLineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Available federal funds line.",
        "label": "Available Federal Funds Line [Member]",
        "terseLabel": "Available Federal Funds Line"
       }
      }
     },
     "localname": "AvailableFederalFundsLineMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_BYBPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "BYB plan.",
        "label": "B Y B Plan [Member]",
        "terseLabel": "BYB Plan"
       }
      }
     },
     "localname": "BYBPlanMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "by_BusinessAcquisitionCommonStockValuePerShareOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition common stock value per share outstanding.",
        "label": "Business Acquisition Common Stock Value Per Share Outstanding",
        "terseLabel": "Common stock outstanding value per share"
       }
      }
     },
     "localname": "BusinessAcquisitionCommonStockValuePerShareOutstanding",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "by_BusinessAcquisitionOptionToAcquireCommonStockShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition option to acquire common stock shares.",
        "label": "Business Acquisition Option To Acquire Common Stock Shares",
        "terseLabel": "Options to acquire common stock shares"
       }
      }
     },
     "localname": "BusinessAcquisitionOptionToAcquireCommonStockShares",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_BusinessAcquisitionOptionToAcquireCommonStockValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business acquisition option to acquire common stock value.",
        "label": "Business Acquisition Option To Acquire Common Stock Value",
        "terseLabel": "Option to acquire common stock value"
       }
      }
     },
     "localname": "BusinessAcquisitionOptionToAcquireCommonStockValue",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationConversionOfCommonStockShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination conversion of common stock shares.",
        "label": "Business Combination Conversion Of Common Stock Shares",
        "terseLabel": "Options to acquire conversion of common stock shares"
       }
      }
     },
     "localname": "BusinessCombinationConversionOfCommonStockShares",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_BusinessCombinationConversionOfOutstandingOptions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination conversion of outstanding options.",
        "label": "Business Combination Conversion Of Outstanding Options",
        "terseLabel": "Business combination conversion of outstanding options"
       }
      }
     },
     "localname": "BusinessCombinationConversionOfOutstandingOptions",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_BusinessCombinationConversionOfStockValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination, conversion of stock, value.",
        "label": "Business Combination Conversion Of Stock Value",
        "terseLabel": "Outstanding stock options converted to Byline stock options"
       }
      }
     },
     "localname": "BusinessCombinationConversionOfStockValue",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationEstimateOfContractualCashFlowsExpectedToBeCollected": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination estimate of contractual cash flows expected to be collected.",
        "label": "Business Combination Estimate Of Contractual Cash Flows Expected To Be Collected",
        "totalLabel": "Estimate of contractual cash flows expected to be collected"
       }
      }
     },
     "localname": "BusinessCombinationEstimateOfContractualCashFlowsExpectedToBeCollected",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedBankOwnedLifeInsurance": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedBankOwnedLifeInsurance",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsRestrictedStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "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"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsRestrictedStock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeposits": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesDeposits",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesFederalHomeLoanBankAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesFederalHomeLoanBankAdvances",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLineOfCredit": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed liabilities line of credit.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Liabilities Line Of Credit",
        "terseLabel": "Line of credit"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesLineOfCredit",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesAccruedExpensesAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "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"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesAccruedExpensesAndOtherLiabilities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherRealEstateOwned": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business combination recognized identifiable assets acquired and liabilities assumed other real estate owned.",
        "label": "Business Combination Recognized Identifiable Assets Acquired And Liabilities Assumed Other Real Estate Owned",
        "terseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherRealEstateOwned",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_BusinessCombinationRightToReceiveCommonStockUponConversion": {
     "auth_ref": [],
     "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"
       }
      }
     },
     "localname": "BusinessCombinationRightToReceiveCommonStockUponConversion",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_BusinessDescriptionAndAccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business description and accounting policies.",
        "label": "Business Description And Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "BusinessDescriptionAndAccountingPoliciesAbstract",
     "nsuri": "http://www.bylinebank.com/20211231",
     "xbrltype": "stringItemType"
    },
    "by_CapitalConservationBufferAboveTheMinimumCapitalRequirements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital conservation buffer above the minimum capital requirements.",
        "label": "Capital Conservation Buffer Above The Minimum Capital Requirements",
        "verboseLabel": "Capital conservation buffer above the minimum capital requirements"
       }
      }
     },
     "localname": "CapitalConservationBufferAboveTheMinimumCapitalRequirements",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeases",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Capital leases net investment in direct financing leases excluding initial direct costs.",
        "label": "Capital Leases Net Investment In Direct Financing Leases Excluding Initial Direct Costs",
        "totalLabel": "Total lease financing receivables"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CaresActPercentageOfNetOperatingLossCarryforwardTaxableIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cares act percentage of net operating loss carryforward taxable income.",
        "label": "Cares Act Percentage Of Net Operating Loss Carryforward Taxable Income",
        "terseLabel": "Cares act percentage of net operating loss carryforward taxable income"
       }
      }
     },
     "localname": "CaresActPercentageOfNetOperatingLossCarryforwardTaxableIncome",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CashFlowHedgeGainLossAfterTransactionNetOfTax": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash flow hedge gain loss after transaction net of tax.",
        "label": "Cash Flow Hedge Gain Loss After Transaction Net Of Tax",
        "terseLabel": "Transaction, net of tax"
       }
      }
     },
     "localname": "CashFlowHedgeGainLossAfterTransactionNetOfTax",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAcquisition": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of certain loans acquired in transfer accounted for as debt securities, accretable yield at acquisition.",
        "label": "Certain Loans Acquired In Transfer Accounted For As Debt Securities Accretable Yield Acquisition",
        "negatedLabel": "Accretable yield at acquisition"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAccretableYieldAcquisition",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsNotExpectedToBeCollectedAtAcquisition": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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",
        "terseLabel": "Undiscounted cash flows not expected to be collected (non-accretable difference)"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsNotExpectedToBeCollectedAtAcquisition",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ChargeOffsOrRecoveriesRelatedToReserveForUnfundedCommitments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Charge-offs or recoveries related to the reserve for unfunded commitments.",
        "label": "Charge Offs Or Recoveries Related To Reserve For Unfunded Commitments",
        "terseLabel": "Charge-offs or recoveries related to reserve for unfunded commitments"
       }
      }
     },
     "localname": "ChargeOffsOrRecoveriesRelatedToReserveForUnfundedCommitments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ChicagoMetropolitanAreaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Chicago metropolitan area.",
        "label": "Chicago Metropolitan Area [Member]",
        "terseLabel": "Chicago metropolitan area"
       }
      }
     },
     "localname": "ChicagoMetropolitanAreaMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_CollectivelyEvaluatedForImpairmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collectively evaluated for impairment.",
        "label": "Collectively Evaluated For Impairment [Member]",
        "terseLabel": "Collectively Evaluated For Impairment"
       }
      }
     },
     "localname": "CollectivelyEvaluatedForImpairmentMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_CommercialAndIndustrialPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commercial and industrial portfolio segment.",
        "label": "Commercial And Industrial Portfolio Segment [Member]",
        "terseLabel": "Commercial and Industrial"
       }
      }
     },
     "localname": "CommercialAndIndustrialPortfolioSegmentMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_CommitmentsAndContingenciesLiabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments and contingencies liabilities.",
        "label": "Commitments And Contingencies Liabilities [Line Items]",
        "terseLabel": "Commitments And Contingencies Liabilities [Line Items]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesLiabilitiesLineItems",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_CommitmentsAndContingenciesLiabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments and contingencies liabilities.",
        "label": "Commitments And Contingencies Liabilities [Table]",
        "terseLabel": "Commitments And Contingencies Liabilities [Table]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesLiabilitiesTable",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_CommonEquityTierICapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Common Equity Tier I Capital [Abstract]",
        "terseLabel": "Common Equity Tier 1 (CET1) to risk weighted assets:"
       }
      }
     },
     "localname": "CommonEquityTierICapitalAbstract",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_CommonEquityTierOneRiskBasedCapital": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Equity Tier I capital as defined by regulations.",
        "label": "Common Equity Tier One Risk Based Capital",
        "terseLabel": "Common Equity Tier 1 (CET1) to risk weighted, Actual Amount"
       }
      }
     },
     "localname": "CommonEquityTierOneRiskBasedCapital",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacy": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum amount of Common Equity Tier I Leverage Capital required for capital adequacy purposes under the regulatory framework for prompt corrective action.",
        "label": "Common Equity Tier One Risk Based Capital Required For Capital Adequacy",
        "terseLabel": "Common Equity Tier 1 (CET1) to risk weighted, Minimum Amount Required for Adequately Capitalized Amount"
       }
      }
     },
     "localname": "CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacy",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum Common Equity Tier One Capital Ratio (Tier one capital divided by risk-weighted assets) required for capital adequacy purposes under the regulatory framework for prompt corrective action.",
        "label": "Common Equity Tier One Risk Based Capital Required For Capital Adequacy To Risk Weighted Assets",
        "terseLabel": "Common Equity Tier 1 (CET1) to risk weighted, Minimum Amount Required for Adequately Capitalized Ratio ( as a percentage)"
       }
      }
     },
     "localname": "CommonEquityTierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalized": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Common Equity Tier I Risk Based Capital required to be categorized as well capitalized under the regulatory framework for prompt corrective action.",
        "label": "Common Equity Tier One Risk Based Capital Required To Be Well Capitalized",
        "terseLabel": "Common Equity Tier 1 (CET1) to risk weighted, Minimum Amount To Be Well Capitalized Amount"
       }
      }
     },
     "localname": "CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalized",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Common Equity Tier I capital ratio (Common Equity Tier I capital divided by risk weighted assets) required to be categorized as \"well capitalized\" under the regulatory framework for prompt corrective action.",
        "label": "Common Equity Tier One Risk Based Capital Required To Be Well Capitalized To Risk Weighted Assets",
        "terseLabel": "Common Equity Tier 1 (CET1) to risk weighted, Minimum Amount To Be Well Capitalized Ratio (as a percentage)"
       }
      }
     },
     "localname": "CommonEquityTierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_CommonEquityTierOneRiskBasedCapitalToRiskWeightedAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common Equity Tier I capital divided by risk weighted assets as defined by regulations.",
        "label": "Common Equity Tier One Risk Based Capital To Risk Weighted Assets",
        "terseLabel": "Common Equity Tier 1 (CET1) to risk weighted, Actual Ratio ( as a percentage)"
       }
      }
     },
     "localname": "CommonEquityTierOneRiskBasedCapitalToRiskWeightedAssets",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_CommonStockDividendDeclaredButNotPaid": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Common stock dividends declared but not paid.",
        "label": "Common Stock Dividend Declared But Not Paid",
        "terseLabel": "Common dividend declared, not paid"
       }
      }
     },
     "localname": "CommonStockDividendDeclaredButNotPaid",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_CommonStockDividendRatePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on common stock.",
        "label": "Common Stock, Dividend Rate, Percentage",
        "terseLabel": "Common Stock, Dividend Rate, Percentage"
       }
      }
     },
     "localname": "CommonStockDividendRatePercentage",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_ConstructionLandDevelopmentAndOtherLandPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Construction, land development, and other land portfolio segment.",
        "label": "Construction Land Development And Other Land Portfolio Segment [Member]",
        "terseLabel": "Construction, Land Development, and Other Land"
       }
      }
     },
     "localname": "ConstructionLandDevelopmentAndOtherLandPortfolioSegmentMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_ConversionCalculationPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Conversion calculation percentage.",
        "label": "Conversion Calculation Percentage",
        "terseLabel": "Conversion calculation percentage"
       }
      }
     },
     "localname": "ConversionCalculationPercentage",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_CorrespondentBankMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Correspondent bank.",
        "label": "Correspondent Bank [Member]",
        "terseLabel": "Correspondent Bank"
       }
      }
     },
     "localname": "CorrespondentBankMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_CreditAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit agreement.",
        "label": "Credit Agreement [Member]",
        "terseLabel": "Credit agreement"
       }
      }
     },
     "localname": "CreditAgreementMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_CumulativeChangeInOwnershipPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative change in ownership percentage.",
        "label": "Cumulative Change In Ownership Percentage",
        "terseLabel": "Cumulative change in ownership Percentage"
       }
      }
     },
     "localname": "CumulativeChangeInOwnershipPercentage",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_CustomerRelationshipIntangiblesPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship intangibles policy.",
        "label": "Customer Relationship Intangibles Policy Policy [Text Block]",
        "terseLabel": "Customer relationship intangibles"
       }
      }
     },
     "localname": "CustomerRelationshipIntangiblesPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_DebtIssuanceCostsAmortizationPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt issuance costs, amortization period.",
        "label": "Debt Issuance Costs Amortization Period",
        "terseLabel": "Debt issuance costs, amortization period"
       }
      }
     },
     "localname": "DebtIssuanceCostsAmortizationPeriod",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "by_DeferredIncomeTaxExpenseBenefitBeforeReversalOfValuationAllowance": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) before reversal of valuation allowance pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense Benefit Before Reversal Of Valuation Allowance",
        "totalLabel": "Total deferred tax benefit"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefitBeforeReversalOfValuationAllowance",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxAssetsDeposits": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deposits.",
        "label": "Deferred Tax Assets Deposits",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DeferredTaxAssetsDeposits",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxAssetsInterestOnNonAccrualLoans": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to interest on non-accrual loans.",
        "label": "Deferred Tax Assets Interest On Non Accrual Loans",
        "terseLabel": "Interest on non-accrual loans"
       }
      }
     },
     "localname": "DeferredTaxAssetsInterestOnNonAccrualLoans",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxAssetsMortgageServicingRights": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax asset attributable to taxable temporary differences from mortgage servicing rights.",
        "label": "Deferred Tax Assets Mortgage Servicing Rights",
        "terseLabel": "Servicing assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsMortgageServicingRights",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxAssetsNetUnrealizedHoldingGainOnSecuritiesAvailableForSale": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax assets Net unrealized holding gain on securities available-for-sale",
        "label": "Deferred tax assets Net unrealized holding gain on securities available-for-sale",
        "negatedLabel": "Net unrealized holding loss on securities available-for-sale"
       }
      }
     },
     "localname": "DeferredTaxAssetsNetUnrealizedHoldingGainOnSecuritiesAvailableForSale",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to operating loss carryforwards and tax credit carryforwards.",
        "label": "Deferred Tax Assets Operating Loss Carryforwards And Tax Credit Carryforwards",
        "terseLabel": "Net operating losses and tax credits"
       }
      }
     },
     "localname": "DeferredTaxAssetsOperatingLossCarryforwardsAndTaxCreditCarryforwards",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxAssetsOtherRealEstateOwned": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to other real estate owned.",
        "label": "Deferred Tax Assets Other Real Estate Owned",
        "terseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "DeferredTaxAssetsOtherRealEstateOwned",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxLiabilitiesTrustPreferredSecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to trust preferred securities.",
        "label": "Deferred Tax Liabilities Trust Preferred Securities",
        "negatedLabel": "Trust preferred securities"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesTrustPreferredSecurities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecuritiesGross": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred tax liabilities unrealized gains on available for sale securities gross.",
        "label": "Deferred Tax Liabilities Unrealized Gains On Available For Sale Securities Gross",
        "negatedLabel": "Net unrealized holding gain on securities available-for-sale",
        "terseLabel": "Net unrealized holding gain on securities available-for-sale"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesUnrealizedGainsOnAvailableForSaleSecuritiesGross",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DefinedContributionPlanThreePercentContributionByEmployeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined contribution plan three percent contribution by employees.",
        "label": "Defined Contribution Plan Three Percent Contribution By Employees [Member]",
        "terseLabel": "3% contributed by employees"
       }
      }
     },
     "localname": "DefinedContributionPlanThreePercentContributionByEmployeesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_DefinedContributionPlanTwoPercentContributionByEmployeesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Defined contribution plan two percent contribution by employees.",
        "label": "Defined Contribution Plan Two Percent Contribution By Employees [Member]",
        "terseLabel": "2% contributed by employees"
       }
      }
     },
     "localname": "DefinedContributionPlanTwoPercentContributionByEmployeesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_DerivativeInstrumentsTransactionFees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instruments transaction fees.",
        "label": "Derivative Instruments Transaction Fees",
        "terseLabel": "Derivative instruments transaction fees"
       }
      }
     },
     "localname": "DerivativeInstrumentsTransactionFees",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative liability fair value offset against collateral net credit exposure of not subject to master netting arrangement policy election.",
        "label": "Derivative Liability Fair Value Offset Against Collateral Net Credit Exposure Of Not Subject To Master Netting Arrangement Policy Election",
        "totalLabel": "Net credit exposure"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DerivativeMaturityDateStartYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative maturity date start year.",
        "label": "Derivative Maturity Date Start Year",
        "terseLabel": "Derivative maturity date, start year"
       }
      }
     },
     "localname": "DerivativeMaturityDateStartYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "by_DerivativeMaturityDatesEndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative maturity dates end year.",
        "label": "Derivative Maturity Dates End Year",
        "terseLabel": "Derivative maturity date, end year"
       }
      }
     },
     "localname": "DerivativeMaturityDatesEndYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "by_DerivativeWeightedAveragePayRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative weighted average pay rate.",
        "label": "Derivative Weighted Average Pay Rate",
        "terseLabel": "Weighted average pay rates"
       }
      }
     },
     "localname": "DerivativeWeightedAveragePayRate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_DerivativeWeightedAverageReceiveRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative weighted average receive rate.",
        "label": "Derivative Weighted Average Receive Rate",
        "terseLabel": "Weighted average receive rates"
       }
      }
     },
     "localname": "DerivativeWeightedAverageReceiveRate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_DiscountOnTheUnguaranteedPortionOfGovernmentGuaranteedLoans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Discount on the unguaranteed portion of government guaranteed loans.",
        "label": "Discount On The Unguaranteed Portion Of Government Guaranteed Loans",
        "terseLabel": "Discount on the unguaranteed portion of government guaranteed loans"
       }
      }
     },
     "localname": "DiscountOnTheUnguaranteedPortionOfGovernmentGuaranteedLoans",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DividendRestrictionsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dividend restrictions.",
        "label": "Dividend Restrictions Policy [Text Block]",
        "terseLabel": "Dividend restrictions"
       }
      }
     },
     "localname": "DividendRestrictionsPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_EachAnniversaryDateOfGrantVestOverFourYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Each anniversary date of grant vest over four years.",
        "label": "Each Anniversary Date Of Grant Vest Over Four Years [Member]",
        "terseLabel": "Each Anniversary of Grant Date Over Four Years"
       }
      }
     },
     "localname": "EachAnniversaryDateOfGrantVestOverFourYearsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_EachAnniversaryDateOfGrantVestOverThreeYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Each anniversary date of grant vest over three years.",
        "label": "Each Anniversary Date Of Grant Vest Over Three Years [Member]",
        "terseLabel": "Each Anniversary of Grant Date Vest Over Three Years"
       }
      }
     },
     "localname": "EachAnniversaryDateOfGrantVestOverThreeYearsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_EffectiveIncomeTaxRateReconciliationChangesDuringPeriodPercentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation changes during period percent.",
        "label": "Effective Income Tax Rate Reconciliation Changes During Period Percent [Abstract]",
        "terseLabel": "Increase (decrease) in income taxes resulting from:"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationChangesDuringPeriodPercentAbstract",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_EffectiveIncomeTaxRateReconciliationRemeasurementOfNetDeferredTaxAsset": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective income tax rate reconciliation remeasurement of net deferred tax asset.",
        "label": "Effective Income Tax Rate Reconciliation Remeasurement Of Net Deferred Tax Asset",
        "terseLabel": "Remeasurement of net deferred tax assets"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationRemeasurementOfNetDeferredTaxAsset",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_EmployeeServiceShareBasedCompensationTaxBenefitExpenseFromCompensationExpense": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Employee service share based compensation tax benefit expense from compensation expense.",
        "label": "Employee Service Share Based Compensation Tax Benefit Expense From Compensation Expense",
        "terseLabel": "Income tax benefit (expense)"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitExpenseFromCompensationExpense",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_EquityAndOtherSecuritiesAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity and other securities, at fair value.",
        "label": "Equity And Other Securities At Fair Value",
        "terseLabel": "Equity and other securities, at fair value"
       }
      }
     },
     "localname": "EquityAndOtherSecuritiesAtFairValue",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_EquityInUndistributedIncomeLossOfSubsidiary": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of equity in undistributed income (loss) of subsidiary.",
        "label": "Equity In Undistributed Income Loss Of Subsidiary",
        "negatedLabel": "Equity in undistributed income of subsidiary",
        "terseLabel": "Equity in undistributed income of subsidiary"
       }
      }
     },
     "localname": "EquityInUndistributedIncomeLossOfSubsidiary",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FairValueEquityToOrFromLevelThreeTransfersAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value equity to or from level three transfers amount.",
        "label": "Fair Value Equity To Or From Level Three Transfers Amount",
        "terseLabel": "Fair value, equity, to or from level 3 transfers, amount"
       }
      }
     },
     "localname": "FairValueEquityToOrFromLevelThreeTransfersAmount",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FairValueInputExpectedWeightedAverageLoanLifeWeightedAverageRangeAssumptionsExpectedTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value input expected weighted average loan life weighted average range assumptions expected term.",
        "label": "Fair Value Input Expected Weighted Average Loan Life Weighted Average Range Assumptions Expected Term",
        "terseLabel": "Expected weighted average loan life"
       }
      }
     },
     "localname": "FairValueInputExpectedWeightedAverageLoanLifeWeightedAverageRangeAssumptionsExpectedTerm",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "by_FairValueLiabilitiesToOrFromLevel1AndLevel2": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value liabilities to or from level1 and level 2",
        "label": "Fair Value Liabilities to or From Level1 and Level 2",
        "terseLabel": "Fair Value Liabilities To Or From Level 1 and Level 2"
       }
      }
     },
     "localname": "FairValueLiabilitiesToOrFromLevel1AndLevel2",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FairValueMeasurementChangeInValuationOfInputValueDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement change in valuation of input value description.",
        "label": "Fair Value Measurement Change In Valuation Of Input Value Description",
        "terseLabel": "Impact to Valuation from an Increased or Higher Input Value"
       }
      }
     },
     "localname": "FairValueMeasurementChangeInValuationOfInputValueDescription",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetMaturities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value measurement with unobservable inputs reconciliation recurring basis asset maturities.",
        "label": "Fair Value Measurement With Unobservable Inputs Reconciliation Recurring Basis Asset Maturities",
        "negatedLabel": "Maturities"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetMaturities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FairValueOfUnvestedRestrictedStockAwards": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of unvested restricted stock awards.",
        "label": "Fair Value Of Unvested Restricted Stock Awards",
        "terseLabel": "Fair value of unvested restricted stock awards"
       }
      }
     },
     "localname": "FairValueOfUnvestedRestrictedStockAwards",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FederalDepositCorporationAndFederalReserveBoardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Federal Deposit Insurance Corporation and Federal Reserve Board.",
        "label": "Federal Deposit Corporation And Federal Reserve Board [Member]",
        "terseLabel": "Federal Deposit Corporation And Federal Reserve Board"
       }
      }
     },
     "localname": "FederalDepositCorporationAndFederalReserveBoardMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FederalHomeLoanBankAdvancesFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank Advances Fixed Interest Rate",
        "terseLabel": "Federal home loan bank advances, Fixed interest rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesFixedInterestRate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_FederalHomeLoanBankAdvancesMaximumBorrowingCapacityAsPercentageOfAssets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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",
        "terseLabel": "Federal home loan bank advances maximum borrowing capacity as percentage of total assets"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaximumBorrowingCapacityAsPercentageOfAssets",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_FederalHomeLoanBankFixedRateAdvances": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal home loan bank fixed rate advances.",
        "label": "Federal Home Loan Bank Fixed Rate Advances",
        "terseLabel": "Federal Home Loan Bank fixed rate advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankFixedRateAdvances",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FederalHomeLoanBankFixedRateAdvancesMaturityDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal home loan bank fixed rate advances maturity date.",
        "label": "Federal Home Loan Bank Fixed Rate Advances Maturity Date",
        "terseLabel": "Federal home loan bank fixed rate advances, maturity date"
       }
      }
     },
     "localname": "FederalHomeLoanBankFixedRateAdvancesMaturityDate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "by_FederalReserveBankDiscountWindowBorrowing": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal Reserve Bank discount window borrowing.",
        "label": "Federal Reserve Bank Discount Window Borrowing",
        "terseLabel": "Federal Reserve Bank discount window borrowing"
       }
      }
     },
     "localname": "FederalReserveBankDiscountWindowBorrowing",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FederalReserveBankDiscountWindowLineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal reserve bank discount window line.",
        "label": "Federal Reserve Bank Discount Window Line [Member]",
        "terseLabel": "Federal Reserve Bank of Chicago Discount Window Line"
       }
      }
     },
     "localname": "FederalReserveBankDiscountWindowLineMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FederalReserveBankOfChicagoDiscountWindowLineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal reserve bank of Chicago discount window line.",
        "label": "Federal Reserve Bank Of Chicago Discount Window Line [Member]",
        "terseLabel": "Federal Reserve Bank of Chicago Discount Window Line"
       }
      }
     },
     "localname": "FederalReserveBankOfChicagoDiscountWindowLineMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FeesAndServiceChargesOnDeposits": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fees and service charges on deposits.",
        "label": "Fees and Service Charges on Deposits"
       }
      }
     },
     "localname": "FeesAndServiceChargesOnDeposits",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases future minimum payments receivable.",
        "label": "Finance Leases Future Minimum Payments Receivable",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivable",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInDueThereafter": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "order": 5.0,
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases future minimum payments receivable in due thereafter.",
        "label": "Finance Leases Future Minimum Payments Receivable In Due Thereafter",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInDueThereafter",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInFourYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "order": 4.0,
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases future minimum payments receivable in four years.",
        "label": "Finance Leases Future Minimum Payments Receivable In Four Years",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInFourYears",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInNextTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "order": 1.0,
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases future minimum payments receivable in next twelve months.",
        "label": "Finance Leases Future Minimum Payments Receivable In Next Twelve Months",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInNextTwelveMonths",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInThreeYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "order": 3.0,
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases future minimum payments receivable in three years.",
        "label": "Finance Leases Future Minimum Payments Receivable In Three Years",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInThreeYears",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInTwoYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "order": 2.0,
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases future minimum payments receivable in two years.",
        "label": "Finance Leases Future Minimum Payments Receivable In Two Years",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableInTwoYears",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "order": 0.0,
       "parentTag": "by_FinanceLeasesFutureMinimumPaymentsReceivable",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Finance leases future minimum payments receivable remainder of fiscal year.",
        "label": "Finance Leases Future Minimum Payments Receivable Remainder Of Fiscal Year",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableAllowanceForLoansAndLeasesAcquiredDeterioratedCreditQuality": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableAllowance",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable allowance for loans and leases acquired deteriorated credit quality.",
        "label": "Financing Receivable Allowance For Loans And Leases Acquired Deteriorated Credit Quality",
        "terseLabel": "Loans acquired with deteriorated credit quality"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForLoansAndLeasesAcquiredDeterioratedCreditQuality",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableAllowanceForLoansAndLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableAllowance",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable allowance for loans and losses collectively evaluated for impairment.",
        "label": "Financing Receivable Allowance For Loans And Losses Collectively Evaluated For Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForLoansAndLossesCollectivelyEvaluatedForImpairment",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableAllowanceForLoansAndLossesIndividuallyEvaluatedForImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableAllowance",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable allowance for loans and losses individually evaluated for impairment.",
        "label": "Financing Receivable Allowance For Loans And Losses Individually Evaluated For Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForLoansAndLossesIndividuallyEvaluatedForImpairment",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationNetTransfersFromToAccrual": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable modification net transfers from (to) accrual.",
        "label": "Financing Receivable Modification Net Transfers From To Accrual",
        "terseLabel": "Net transfers (to) from accrual"
       }
      }
     },
     "localname": "FinancingReceivableModificationNetTransfersFromToAccrual",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationNetTransfersFromToNonAccrual": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable modification net transfers from (to) non accrual.",
        "label": "Financing Receivable Modification Net Transfers From To Non Accrual",
        "terseLabel": "Net transfers (to) from non-accrual"
       }
      }
     },
     "localname": "FinancingReceivableModificationNetTransfersFromToNonAccrual",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsAccruingAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable, modifications, accruing additions.",
        "label": "Financing Receivable Modifications Accruing Additions",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "FinancingReceivableModificationsAccruingAdditions",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsAccruingNetPayments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable, modifications, accruing net payments.",
        "label": "Financing Receivable Modifications Accruing Net Payments",
        "negatedLabel": "Net payments"
       }
      }
     },
     "localname": "FinancingReceivableModificationsAccruingNetPayments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsNonAccruingAdditions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable, modifications, non-accruing additions.",
        "label": "Financing Receivable Modifications Non Accruing Additions",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNonAccruingAdditions",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsNonAccruingChargeOffs": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable, modifications, non-accruing charge-offs.",
        "label": "Financing Receivable Modifications Non Accruing Charge Offs",
        "negatedLabel": "Charge-offs"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNonAccruingChargeOffs",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsNonAccruingNetPayments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable, modifications, non-accruing net payments.",
        "label": "Financing Receivable Modifications Non Accruing Net Payments",
        "negatedLabel": "Net payments"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNonAccruingNetPayments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsRecordedInvestmentAccruing": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_FinancingReceivableModificationsRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable, modifications, recorded investment, accruing.",
        "label": "Financing Receivable Modifications Recorded Investment Accruing",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestmentAccruing",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsRecordedInvestmentNonAccruing": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FinancingReceivableModificationsRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable, modifications, recorded investment, non-accruing.",
        "label": "Financing Receivable Modifications Recorded Investment Non Accruing",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestmentNonAccruing",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsSpecificReserves": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivable modifications specific reserves.",
        "label": "Financing Receivable Modifications Specific Reserves",
        "terseLabel": "Specific Reserves"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSpecificReserves",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FirstAnniversaryDateOfGrantMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First anniversary date of grant.",
        "label": "First Anniversary Date Of Grant [Member]",
        "terseLabel": "First Anniversary of Grant Date"
       }
      }
     },
     "localname": "FirstAnniversaryDateOfGrantMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FirstEvanstonBancorpIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Evanston Bancorp, Inc.",
        "label": "First Evanston Bancorp Inc [Member]",
        "terseLabel": "First Evanston Bancorp, Inc."
       }
      }
     },
     "localname": "FirstEvanstonBancorpIncMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FirstEvanstonBancorpIncStockIncentivePlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Evanston Bancorp, Inc. stock incentive plan.",
        "label": "First Evanston Bancorp Inc Stock Incentive Plan [Member]",
        "terseLabel": "FEB Plan"
       }
      }
     },
     "localname": "FirstEvanstonBancorpIncStockIncentivePlanMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FirstEvanstonBancorpTrustOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First Evanston Bancorp Trust I.",
        "label": "First Evanston Bancorp Trust One [Member]",
        "terseLabel": "First Evanston Bancorp Trust I"
       }
      }
     },
     "localname": "FirstEvanstonBancorpTrustOneMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FirstEvanstonMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First evanston.",
        "label": "First Evanston [Member]",
        "terseLabel": "First Evanston"
       }
      }
     },
     "localname": "FirstEvanstonMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FiveYearLondonInterbankOfferedRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Five-year LIBOR.",
        "label": "Five Year London Interbank Offered Rate [Member]",
        "terseLabel": "Five-year LIBOR"
       }
      }
     },
     "localname": "FiveYearLondonInterbankOfferedRateMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedInterestRateSwapFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Interest Rate Swap Four Member.",
        "label": "Fixed Interest Rate Swap Four Member",
        "terseLabel": "Fixed Interest Rate Swaps Effective in May 2023"
       }
      }
     },
     "localname": "FixedInterestRateSwapFourMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedInterestRateSwapOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate swap one.",
        "label": "Fixed Interest Rate Swap One [Member]",
        "terseLabel": "Fixed Interest Rate Swaps Effective in March 2022"
       }
      }
     },
     "localname": "FixedInterestRateSwapOneMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedInterestRateSwapThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate swap three.",
        "label": "Fixed Interest Rate Swap Three [Member]",
        "terseLabel": "Fixed Interest Rate Swaps Effective in March 2023"
       }
      }
     },
     "localname": "FixedInterestRateSwapThreeMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedInterestRateSwapTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate swap two.",
        "label": "Fixed Interest Rate Swap Two [Member]",
        "terseLabel": "Fixed Interest Rate Swaps Effective in September 2022"
       }
      }
     },
     "localname": "FixedInterestRateSwapTwoMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedRateLoanCommitmentPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate loan commitment period.",
        "label": "Fixed Rate Loan Commitment Period",
        "terseLabel": "Commitments to make loans period"
       }
      }
     },
     "localname": "FixedRateLoanCommitmentPeriod",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "by_FixedRateLoanCommitmentsMaturitiesEndingYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed rate loan commitments maturities ending year.",
        "label": "Fixed Rate Loan Commitments Maturities Ending Year",
        "terseLabel": "Fixed rate loan commitments maturity year"
       }
      }
     },
     "localname": "FixedRateLoanCommitmentsMaturitiesEndingYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "by_FixedSwapDerivativeMaturityDateYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed swap derivative maturity date year.",
        "label": "Fixed Swap Derivative Maturity Date Year",
        "terseLabel": "Fixed swap derivative maturity date year"
       }
      }
     },
     "localname": "FixedSwapDerivativeMaturityDateYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "by_FixedSwapMaturityOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed swap maturity one.",
        "label": "Fixed Swap Maturity One [Member]",
        "terseLabel": "Fixed Swap Maturity One"
       }
      }
     },
     "localname": "FixedSwapMaturityOneMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedSwapMaturityThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed swap maturity three.",
        "label": "Fixed Swap Maturity Three [Member]",
        "terseLabel": "Fixed Swap Maturity Three"
       }
      }
     },
     "localname": "FixedSwapMaturityThreeMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedSwapMaturityTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed swap maturity two.",
        "label": "Fixed Swap Maturity Two [Member]",
        "terseLabel": "Fixed Swap Maturity Two"
       }
      }
     },
     "localname": "FixedSwapMaturityTwoMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedToFloatingSubordinateNotesMatureOnFirstJulyTwoThousandThirtyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed to floating subordinate notes mature on first july two thousand thirty.",
        "label": "Fixed To Floating Subordinate Notes Mature On First July Two Thousand Thirty [Member]",
        "terseLabel": "Fixed-To-Floating Subordinate Notes Mature on July 1, 2030"
       }
      }
     },
     "localname": "FixedToFloatingSubordinateNotesMatureOnFirstJulyTwoThousandThirtyMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FourthAmendmentRevolvingCreditAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fourth amendment revolving credit agreement.",
        "label": "Fourth Amendment Revolving Credit Agreement [Member]",
        "terseLabel": "Fourth Amendment Revolving Credit Agreement"
       }
      }
     },
     "localname": "FourthAmendmentRevolvingCreditAgreementMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_GainsLossesOnSalesOfOtherRealEstateAndOtherRelatedExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gains (losses) on sales of other real estate and other related expenses.",
        "label": "Gains Losses On Sales Of Other Real Estate And Other Related Expenses",
        "negatedLabel": "Net loss recognized on other real estate owned and other related expenses"
       }
      }
     },
     "localname": "GainsLossesOnSalesOfOtherRealEstateAndOtherRelatedExpenses",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_HeldToMaturitySecuritiesTransferredToAvailableForSaleSecurities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held to maturity securities transferred to available for sale securities.",
        "label": "Held To Maturity Securities Transferred To Available For Sale Securities",
        "terseLabel": "Transfer of held-to-maturity securities to available-for-sale securities"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesTransferredToAvailableForSaleSecurities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ImpairmentLossOnPremisesAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impairment Loss on Premises and Equipment",
        "label": "Impairment Loss on Premises and Equipment"
       }
      }
     },
     "localname": "ImpairmentLossOnPremisesAndEquipment",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ImpairmentLossOnRightOfUseAsset": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Impairment Loss on Right-Of-Use Asset",
        "label": "Impairment Loss on Right-Of-Use Asset"
       }
      }
     },
     "localname": "ImpairmentLossOnRightOfUseAsset",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncomeLossBeforeEquityInUndistributedIncomeLossOfSubsidiary": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income (loss) before equity in undistributed income (loss) of subsidiary.",
        "label": "Income Loss Before Equity In Undistributed Income Loss Of Subsidiary",
        "totalLabel": "Income before equity in undistributed income of subsidiary"
       }
      }
     },
     "localname": "IncomeLossBeforeEquityInUndistributedIncomeLossOfSubsidiary",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncomeLossBeforeProvisionForIncomeTaxesAndEquityInUndistributedIncomeLossOfSubsidiary": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 0.0,
       "parentTag": "by_IncomeLossBeforeEquityInUndistributedIncomeLossOfSubsidiary",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income (loss) before provision for income taxes and equity in undistributed income (loss) of subsidiary.",
        "label": "Income Loss Before Provision For Income Taxes And Equity In Undistributed Income Loss Of Subsidiary",
        "totalLabel": "Income before provision for income taxes and equity in undistributed income of subsidiary"
       }
      }
     },
     "localname": "IncomeLossBeforeProvisionForIncomeTaxesAndEquityInUndistributedIncomeLossOfSubsidiary",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncomeTaxLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income Tax.",
        "label": "Income Tax [Line Items]",
        "terseLabel": "Income Tax [Line Items]"
       }
      }
     },
     "localname": "IncomeTaxLineItems",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_IncomeTaxTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Income Tax.",
        "label": "Income Tax [Table]",
        "terseLabel": "Income Tax [Table]"
       }
      }
     },
     "localname": "IncomeTaxTable",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_IncreaseDecreaseInAccruedInterestPayableAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 25.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in accrued interest payable and other liabilities.",
        "label": "Increase Decrease In Accrued Interest Payable And Other Liabilities",
        "terseLabel": "Accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestPayableAndOtherLiabilities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncreaseDecreaseInAccruedInterestReceivableAndOtherAssetsNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 24.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in accrued interest receivable and other assets.",
        "label": "Increase Decrease In Accrued Interest Receivable And Other Assets Net",
        "negatedLabel": "Accrued interest receivable and other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInAccruedInterestReceivableAndOtherAssetsNet",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncreaseDecreaseInDeferredTaxAssetOnFairValueAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in deferred tax asset on fair value adjustments.",
        "label": "Increase Decrease In Deferred Tax Asset On Fair Value Adjustments",
        "terseLabel": "Increase in deferred tax asset"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeferredTaxAssetOnFairValueAdjustments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncreaseDecreaseInFairValueAdjustmentsOnLoansCarriedAtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in fair value adjustments on loans carried at fair value.",
        "label": "Increase Decrease In Fair Value Adjustments On Loans Carried At Fair Value",
        "negatedLabel": "Fair value estimate of loans"
       }
      }
     },
     "localname": "IncreaseDecreaseInFairValueAdjustmentsOnLoansCarriedAtFairValue",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncreaseDecreaseInFairValueAdjustmentsOnOtherAssetsCarriedAtFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) in fair value adjustments on other assets carried at fair value.",
        "label": "Increase Decrease In Fair Value Adjustments On Other Assets Carried At Fair Value",
        "negatedLabel": "Fair value estimate of other assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInFairValueAdjustmentsOnOtherAssetsCarriedAtFairValue",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncreaseDecreaseInInterestExpenseBorrowings": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase decrease in interest expense borrowings.",
        "label": "Increase Decrease In Interest Expense Borrowings",
        "terseLabel": "Increase (decrease) in borrowings"
       }
      }
     },
     "localname": "IncreaseDecreaseInInterestExpenseBorrowings",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IndividuallyEvaluatedForImpairmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Individually evaluated for impairment.",
        "label": "Individually Evaluated For Impairment [Member]",
        "terseLabel": "Individually Evaluated For Impairment"
       }
      }
     },
     "localname": "IndividuallyEvaluatedForImpairmentMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_InstallmentAndOtherPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Installment and other portfolio segment.",
        "label": "Installment And Other Portfolio Segment [Member]",
        "terseLabel": "Installment and Other"
       }
      }
     },
     "localname": "InstallmentAndOtherPortfolioSegmentMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_InterestAndNonInterestExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 1.0,
       "parentTag": "by_IncomeLossBeforeProvisionForIncomeTaxesAndEquityInUndistributedIncomeLossOfSubsidiary",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and non interest expense.",
        "label": "Interest And Non Interest Expense",
        "totalLabel": "Total expenses"
       }
      }
     },
     "localname": "InterestAndNonInterestExpense",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InterestAndNonInterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest and non interest expense.",
        "label": "Interest And Non Interest Expense [Abstract]",
        "terseLabel": "EXPENSES"
       }
      }
     },
     "localname": "InterestAndNonInterestExpenseAbstract",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_InterestBearingDomesticDepositMoneyMarketAndDemandAccounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest bearing domestic deposit money market and demand accounts.",
        "label": "Interest Bearing Domestic Deposit Money Market And Demand Accounts",
        "terseLabel": "Money market demand accounts"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositMoneyMarketAndDemandAccounts",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InterestBearingDomesticDepositNegotiableOrderOfWithdrawalNOWSavingsAndMoneyMarketAccounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 1.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest bearing domestic deposit negotiable order of withdrawal (NOW), savings and money market accounts.",
        "label": "Interest Bearing Domestic Deposit Negotiable Order Of Withdrawal N O W Savings And Money Market Accounts",
        "terseLabel": "NOW, savings accounts, and money market accounts"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositNegotiableOrderOfWithdrawalNOWSavingsAndMoneyMarketAccounts",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InterestBearingDomesticDepositOtherSavings": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest bearing domestic deposit other savings.",
        "label": "Interest Bearing Domestic Deposit Other Savings",
        "terseLabel": "Other savings"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositOtherSavings",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InterestExpenseOtherBorrowings": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest expense other borrowings.",
        "label": "Interest Expense Other Borrowings",
        "terseLabel": "Other borrowings",
        "verboseLabel": "Interest recorded"
       }
      }
     },
     "localname": "InterestExpenseOtherBorrowings",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InvestmentInBankOwnedLifeInsurance": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in bank owned life insurance.",
        "label": "Investment In Bank Owned Life Insurance",
        "negatedLabel": "Investment in bank owned life insurance"
       }
      }
     },
     "localname": "InvestmentInBankOwnedLifeInsurance",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InvestmentInBankingSubsidiary": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investment in subsidiary bank",
        "label": "Investment In Banking Subsidiary",
        "terseLabel": "Investment in banking subsidiary"
       }
      }
     },
     "localname": "InvestmentInBankingSubsidiary",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InvestmentSecuritiesPledgedCarryingAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment securities pledged carrying amount.",
        "label": "Investment Securities Pledged Carrying Amount",
        "terseLabel": "Carrying amount of securities pledged as collateral"
       }
      }
     },
     "localname": "InvestmentSecuritiesPledgedCarryingAmount",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InvestmentSecuritiesPostedAsCollateral": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment securities posted as collateral.",
        "label": "Investment Securities Posted As Collateral",
        "terseLabel": "Investment securities posted as collateral"
       }
      }
     },
     "localname": "InvestmentSecuritiesPostedAsCollateral",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Junior subordinated debenture owed to unconsolidated subsidiary trust, including unamortized discount.",
        "label": "Junior Subordinated Debenture Owed To Unconsolidated Subsidiary Trust Including Unamortized Discount",
        "terseLabel": "Total liability, at par",
        "verboseLabel": "Principal amount"
       }
      }
     },
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LastBusinessDayOfGrantVestOverThreeYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Last business day of grant vest over three years.",
        "label": "Last Business Day Of Grant Vest Over Three Years [Member]",
        "terseLabel": "Last Business Day of Grant Vest Over Three Years"
       }
      }
     },
     "localname": "LastBusinessDayOfGrantVestOverThreeYearsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_LegalAuditAndOtherProfessionalFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Legal, audit and other professional fees.",
        "label": "Legal Audit And Other Professional Fees",
        "terseLabel": "Legal, audit, and other professional fees"
       }
      }
     },
     "localname": "LegalAuditAndOtherProfessionalFees",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LessorOperatingLeaseMaturityYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessor, operating lease maturity year.",
        "label": "Lessor Operating Lease Maturity Year",
        "terseLabel": "Lessor, Operating Lease Maturity Year"
       }
      }
     },
     "localname": "LessorOperatingLeaseMaturityYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "by_LetterAgreementMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Letter agreement.",
        "label": "Letter Agreement [Member]",
        "terseLabel": "Letter Agreement"
       }
      }
     },
     "localname": "LetterAgreementMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_LifeInsuranceCorporateOrBankOwnedPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for corporate (COLI) or bank (BOLI) owned life insurance.",
        "label": "Life Insurance Corporate Or Bank Owned Policy [Text Block]",
        "terseLabel": "Bank-owned life insurance"
       }
      }
     },
     "localname": "LifeInsuranceCorporateOrBankOwnedPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_LineOfCreditFacilityExpirationMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility expiration month and year.",
        "label": "Line Of Credit Facility Expiration Month And Year",
        "terseLabel": "Line of credit facility, maturity month and year"
       }
      }
     },
     "localname": "LineOfCreditFacilityExpirationMonthAndYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "gYearMonthItemType"
    },
    "by_LineOfCreditFacilityExtendedMaturityDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line of credit facility extended maturity date.",
        "label": "Line Of Credit Facility Extended Maturity Date",
        "terseLabel": "Line of credit facility, extended maturity date"
       }
      }
     },
     "localname": "LineOfCreditFacilityExtendedMaturityDate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "by_LoanAndLeaseRelatedExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan and lease related expenses.",
        "label": "Loan And Lease Related Expenses",
        "terseLabel": "Loan and lease related expenses"
       }
      }
     },
     "localname": "LoanAndLeaseRelatedExpenses",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LoanCommitmentsPercentageBearingFixedInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan commitments bearing fixed interest rate, percentage.",
        "label": "Loan Commitments Percentage Bearing Fixed Interest Rate",
        "terseLabel": "Loan commitments fixed interest rate"
       }
      }
     },
     "localname": "LoanCommitmentsPercentageBearingFixedInterestRate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_LoanCommitmentsPercentageBearingVariableInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan commitments bearing variable interest rate, percentage.",
        "label": "Loan Commitments Percentage Bearing Variable Interest Rate",
        "terseLabel": "Loan commitments variable interest rate"
       }
      }
     },
     "localname": "LoanCommitmentsPercentageBearingVariableInterestRate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_LoanServicingAssetRevaluation": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan servicing asset revaluation.",
        "label": "Loan Servicing Asset Revaluation"
       }
      }
     },
     "localname": "LoanServicingAssetRevaluation",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LoanServicingAssetRevaluationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan servicing asset revaluation.",
        "label": "Loan Servicing Asset Revaluation [Member]",
        "terseLabel": "Loan Servicing Asset Revaluation [Member]"
       }
      }
     },
     "localname": "LoanServicingAssetRevaluationMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "by_LoanServicingRevenueNonInterestIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan servicing revenue non interest income.",
        "label": "Loan Servicing Revenue Non Interest Income"
       }
      }
     },
     "localname": "LoanServicingRevenueNonInterestIncome",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans and leases receivable commitments fixed and variable rates.",
        "label": "Loans And Leases Receivable Commitments Fixed And Variable Rates",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableCommitmentsFixedAndVariableRates",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LoansAndLeasesReceivableUnpaidPrincipalBalance": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loans and leases receivable unpaid principal balance.",
        "label": "Loans And Leases Receivable Unpaid Principal Balance",
        "terseLabel": "Unpaid Principal Balance"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableUnpaidPrincipalBalance",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LossOnRedemptionOfJuniorSubordinatedDebentures": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 19.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loss On Redemption Of Junior Subordinated Debentures",
        "label": "Loss On Redemption Of Junior Subordinated Debentures",
        "terseLabel": "Loss on redemption of junior subordinated debentures"
       }
      }
     },
     "localname": "LossOnRedemptionOfJuniorSubordinatedDebentures",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_MergerTransactionCommonStockConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger transaction common stock conversion ratio.",
        "label": "Merger Transaction Common Stock Conversion Ratio",
        "terseLabel": "Merger transaction common stock conversion ratio"
       }
      }
     },
     "localname": "MergerTransactionCommonStockConversionRatio",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "by_MergerTransactionNumberOfFractionalSharesIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Merger Transaction Number Of Fractional Shares Issued",
        "label": "Merger Transaction Number Of Fractional Shares Issued",
        "terseLabel": "Merger transaction, number of fractional shares issued"
       }
      }
     },
     "localname": "MergerTransactionNumberOfFractionalSharesIssued",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_MetropolitanStatutoryTrustOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Metropolitan statutory trust one.",
        "label": "Metropolitan Statutory Trust One [Member]",
        "terseLabel": "Metropolitan Statutory Trust 1"
       }
      }
     },
     "localname": "MetropolitanStatutoryTrustOneMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_MortgageAndAssetBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Mortgage and asset-backed securities.",
        "label": "Mortgage And Asset Backed Securities [Member]",
        "terseLabel": "Mortgage and Asset-Backed Securities"
       }
      }
     },
     "localname": "MortgageAndAssetBackedSecuritiesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NatureOfBusinessAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Nature Of Business [Abstract]",
        "terseLabel": "Nature of business"
       }
      }
     },
     "localname": "NatureOfBusinessAbstract",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_NatureOfBusinessPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for nature of business.",
        "label": "Nature Of Business Policy Policy [Text Block]",
        "terseLabel": "Nature of business"
       }
      }
     },
     "localname": "NatureOfBusinessPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_NetBookValueOfPremisesFurnitureFixturesEquipmentAndLeaseholdImprovementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This members represents net book value of premises, furniture, fixtures, equipment, and leasehold improvements.",
        "label": "Net Book Value Of Premises Furniture Fixtures Equipment And Leasehold Improvements [Member]",
        "terseLabel": "Net book value of premises, furniture, fixtures, equipment, and leasehold improvements"
       }
      }
     },
     "localname": "NetBookValueOfPremisesFurnitureFixturesEquipmentAndLeaseholdImprovementsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NetChangeInFairValueOfEquitySecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in fair value of equity securities.",
        "label": "Net Change In Fair Value Of Equity Securities",
        "negatedLabel": "Net change in fair value of equity securities, net",
        "terseLabel": "Change in fair value of equity securities, net",
        "verboseLabel": "Change in fair value of equity securities, net"
       }
      }
     },
     "localname": "NetChangeInFairValueOfEquitySecurities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NetChangeInServicingAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net change in servicing assets.",
        "label": "Net Change In Servicing Assets",
        "negatedLabel": "Net change in servicing assets"
       }
      }
     },
     "localname": "NetChangeInServicingAssets",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NetLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net losses on sales and valuation adjustments of other real estate owned.",
        "label": "Net Losses On Sales And Valuation Adjustments Of Other Real Estate Owned",
        "terseLabel": "Net losses on sales and valuation adjustments of other real estate owned"
       }
      }
     },
     "localname": "NetLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NetUnrealizedHoldingGainOnCashFlowHedges": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net unrealized holding gain on cash flow hedges",
        "label": "Net unrealized holding gain on cash flow hedges"
       }
      }
     },
     "localname": "NetUnrealizedHoldingGainOnCashFlowHedges",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NldToTaxableIncome": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "NLD to Taxable income",
        "label": "NLD to Taxable income"
       }
      }
     },
     "localname": "NldToTaxableIncome",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NonAccruingLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-accruing loans.",
        "label": "Non Accruing Loans [Member]",
        "terseLabel": "Non-accruing"
       }
      }
     },
     "localname": "NonAccruingLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NonAgencyCommercialMortgageBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-agency commercial mortgage backed securities.",
        "label": "Non Agency Commercial Mortgage Backed Securities [Member]",
        "terseLabel": "Non Agency Commercial Mortgage Backed Securities"
       }
      }
     },
     "localname": "NonAgencyCommercialMortgageBackedSecuritiesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NonAgencyResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-agency residential mortgage backed securities.",
        "label": "Non Agency Residential Mortgage Backed Securities [Member]",
        "terseLabel": "Non-Agency, Residential Mortgage-Backed Securities"
       }
      }
     },
     "localname": "NonAgencyResidentialMortgageBackedSecuritiesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NonAgencySecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Agency Securities.",
        "label": "Non Agency Securities [Member]",
        "terseLabel": "Non-Agency"
       }
      }
     },
     "localname": "NonAgencySecuritiesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NonInterestExpenseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-interest expense.",
        "label": "Non Interest Expense [Member]",
        "terseLabel": "Non-interest Expense"
       }
      }
     },
     "localname": "NonInterestExpenseMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NumberOfBankBranches": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of bank branches.",
        "label": "Number Of Bank Branches",
        "terseLabel": "Number of bank branches"
       }
      }
     },
     "localname": "NumberOfBankBranches",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "by_NumberOfFacilities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of facilities.",
        "label": "Number Of Facilities",
        "terseLabel": "Number of other Facilities"
       }
      }
     },
     "localname": "NumberOfFacilities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "by_NumberOfFormerBranchSold": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of former branch sold.",
        "label": "Number Of Former Branch Sold",
        "terseLabel": "Number of former branch sold"
       }
      }
     },
     "localname": "NumberOfFormerBranchSold",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "by_NumberOfInvestmentSecuritiesWithUnrealizedLosses": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of investment securities with unrealized losses.",
        "label": "Number Of Investment Securities With Unrealized Losses",
        "terseLabel": "Investment securities with unrealized losses"
       }
      }
     },
     "localname": "NumberOfInvestmentSecuritiesWithUnrealizedLosses",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "by_NumberOfPieceOfVacantLand": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of piece of vacant land.",
        "label": "Number Of Piece Of Vacant Land",
        "terseLabel": "Number of piece of vacant land"
       }
      }
     },
     "localname": "NumberOfPieceOfVacantLand",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "by_OakParkRiverForestBanksharesIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Oak park river forest bankshares inc.",
        "label": "Oak Park River Forest Bankshares Inc [Member]",
        "terseLabel": "Oak Park River Forest Bankshares, Inc."
       }
      }
     },
     "localname": "OakParkRiverForestBanksharesIncMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_OmnibusPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Omnibus plan.",
        "label": "Omnibus Plan [Member]",
        "terseLabel": "Omnibus Plan"
       }
      }
     },
     "localname": "OmnibusPlanMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "by_OperatingLossCarryforwardsAnnualEstimatedAvailableAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of estimated operating loss carryforward available each year, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards Annual Estimated Available Amount",
        "terseLabel": "Estimated net operating losses available each year"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsAnnualEstimatedAvailableAmount",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_OperatingLossCarryforwardsExpirationTerm": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Loss Carryforwards Expiration Term",
        "label": "Operating Loss Carryforwards Expiration Term",
        "terseLabel": "Operating Loss Carryforwards Expiration Term"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsExpirationTerm",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "by_OperatingLossCarryforwardsExpirationYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating loss carryforwards expiration year.",
        "label": "Operating Loss Carryforwards Expiration Year",
        "terseLabel": "Operating loss carryforwards expiration year"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsExpirationYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "by_OriginatedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Originated loans.",
        "label": "Originated Loans [Member]",
        "terseLabel": "Originated"
       }
      }
     },
     "localname": "OriginatedLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_OriginatedLoansPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for originated loans.",
        "label": "Originated Loans Policy Policy [Text Block]",
        "terseLabel": "Originated loans"
       }
      }
     },
     "localname": "OriginatedLoansPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_OtherInterestRateDerivativesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other interest rate derivatives.",
        "label": "Other Interest Rate Derivatives [Member]",
        "terseLabel": "Other Interest Rate Derivatives"
       }
      }
     },
     "localname": "OtherInterestRateDerivativesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_OtherRealEstateAcquisitionThroughBusinessCombination": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisition of other real estate not separately disclosed, including, but not limited to, real estate investments, real estate loans that qualify as investments in real estate, and premises that are no longer used in operations may also be included in real estate owned. This excludes real estate assets taken in settlement of troubled loans through surrender or foreclosure.",
        "label": "Other Real Estate Acquisition Through Business Combination",
        "terseLabel": "Acquisition of OREO through business combination"
       }
      }
     },
     "localname": "OtherRealEstateAcquisitionThroughBusinessCombination",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_OtherRealEstateOwnedPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for other real estate owned.",
        "label": "Other Real Estate Owned Policy Policy [Text Block]",
        "terseLabel": "Other real estate owned"
       }
      }
     },
     "localname": "OtherRealEstateOwnedPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_OtherRealEstateOwnedPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other real estate owned portfolio segment.",
        "label": "Other Real Estate Owned Portfolio Segment [Member]",
        "terseLabel": "Other Real Estate Owned"
       }
      }
     },
     "localname": "OtherRealEstateOwnedPortfolioSegmentMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_PaycheckProtectionProgramLiquidityFacility": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Paycheck protection program liquidity facility.",
        "label": "Paycheck Protection Program Liquidity Facility",
        "terseLabel": "Paycheck Protection Program Liquidity Facility",
        "verboseLabel": "Paycheck Protection Program Liquidity Facility"
       }
      }
     },
     "localname": "PaycheckProtectionProgramLiquidityFacility",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_PaycheckProtectionProgramPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Paycheck protection program portfolio segment.",
        "label": "Paycheck Protection Program Portfolio Segment [Member]",
        "terseLabel": "Paycheck Protection Program (\"PPP\")"
       }
      }
     },
     "localname": "PaycheckProtectionProgramPortfolioSegmentMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_PaymentsForOriginationsOfUSGovernmentGuaranteedLoans": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for originations of US government guaranteed loans.",
        "label": "Payments For Originations Of U S Government Guaranteed Loans",
        "negatedLabel": "Originations of U.S. government guaranteed loans"
       }
      }
     },
     "localname": "PaymentsForOriginationsOfUSGovernmentGuaranteedLoans",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_PaymentsForProceedsFromCashAcquiredFromAcquisitionOfBusiness": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Payments for proceeds from cash acquired from acquisition of business.",
        "label": "Payments For Proceeds From Cash Acquired From Acquisition Of Business",
        "negatedLabel": "Net cash received in acquisition of business"
       }
      }
     },
     "localname": "PaymentsForProceedsFromCashAcquiredFromAcquisitionOfBusiness",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_PercentageOfShareholdersEquityForWhichSecuritiesHoldingsExceedsForNoIssuerOtherThanUSGovernmentAndAgencies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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",
        "terseLabel": "Percentage of shareholders equity for which securities holdings exceeds for no issuer other than U.S. Government and agencies"
       }
      }
     },
     "localname": "PercentageOfShareholdersEquityForWhichSecuritiesHoldingsExceedsForNoIssuerOtherThanUSGovernmentAndAgencies",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_PerformanceBasedRestrictedSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance based restricted shares.",
        "label": "Performance Based Restricted Shares [Member]",
        "terseLabel": "Performance-based Restricted Shares"
       }
      }
     },
     "localname": "PerformanceBasedRestrictedSharesMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_PerformanceOptionsGrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Performance options grants.",
        "label": "Performance Options Grants [Member]",
        "terseLabel": "Performance Options Grants"
       }
      }
     },
     "localname": "PerformanceOptionsGrantsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_PeriodForCumulativeChangeInOwnership": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period for cumulative change in ownership.",
        "label": "Period For Cumulative Change In Ownership",
        "terseLabel": "Period for cumulative change in ownership"
       }
      }
     },
     "localname": "PeriodForCumulativeChangeInOwnership",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "by_PreferredStockFixedDividendCloseDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred stock fixed dividend close date.",
        "label": "Preferred Stock Fixed Dividend Close Date",
        "terseLabel": "Preferred stock fixed dividend close date"
       }
      }
     },
     "localname": "PreferredStockFixedDividendCloseDate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "by_ProceedsFromInternallyFinancedSaleOfOtherRealEstate": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from internally financed sale of other real estate.",
        "label": "Proceeds From Internally Financed Sale Of Other Real Estate",
        "terseLabel": "Proceeds from sale of internally financed sales of OREO"
       }
      }
     },
     "localname": "ProceedsFromInternallyFinancedSaleOfOtherRealEstate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromOtherLoansSold": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from other loans sold.",
        "label": "Proceeds From Other Loans Sold",
        "terseLabel": "Proceeds from other loans sold"
       }
      }
     },
     "localname": "ProceedsFromOtherLoansSold",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromPaycheckProtectionProgramLiquidityFacility": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from paycheck protection program liquidity facility.",
        "label": "Proceeds From Paycheck Protection Program Liquidity Facility",
        "terseLabel": "Proceeds from Paycheck Protection Program Liquidity Facility"
       }
      }
     },
     "localname": "ProceedsFromPaycheckProtectionProgramLiquidityFacility",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromPaydownsOfSecuritiesAvailableForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from paydowns of securities available-for-sale.",
        "label": "Proceeds From Paydowns Of Securities Available For Sale",
        "terseLabel": "Proceeds from paydowns of securities available-for-sale"
       }
      }
     },
     "localname": "ProceedsFromPaydownsOfSecuritiesAvailableForSale",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromSalesAndCallsOfSecuritiesAvailableForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sales and calls of securities available for sale.",
        "label": "Proceeds From Sales And Calls Of Securities Available For Sale",
        "terseLabel": "Proceeds from sales and calls of securities available-for-sale"
       }
      }
     },
     "localname": "ProceedsFromSalesAndCallsOfSecuritiesAvailableForSale",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromSalesOfAssetsHeldForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sales of assets held for sale.",
        "label": "Proceeds From Sales Of Assets Held For Sale",
        "terseLabel": "Proceeds from sales of assets held for sale"
       }
      }
     },
     "localname": "ProceedsFromSalesOfAssetsHeldForSale",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromSalesOfOtherRealEstate": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sales of other real estate.",
        "label": "Proceeds From Sales Of Other Real Estate",
        "negatedLabel": "Proceeds from sales of OREO"
       }
      }
     },
     "localname": "ProceedsFromSalesOfOtherRealEstate",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromSubordinatedNotes": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds From Subordinated Notes",
        "label": "Proceeds From Subordinated Notes",
        "terseLabel": "Proceeds from subordinated notes"
       }
      }
     },
     "localname": "ProceedsFromSubordinatedNotes",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromUSGovernmentGuaranteedLoansSold": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 12.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from US government guaranteed loans sold.",
        "label": "Proceeds From U S Government Guaranteed Loans Sold",
        "terseLabel": "Proceeds from U.S. government guaranteed loans sold"
       }
      }
     },
     "localname": "ProceedsFromUSGovernmentGuaranteedLoansSold",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProvisionRecaptureForUnfundedCommitments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision recapture for unfunded commitments.",
        "label": "Provision Recapture for Unfunded Commitments",
        "terseLabel": "Provision/(recapture) for/of unfunded commitments"
       }
      }
     },
     "localname": "ProvisionRecaptureForUnfundedCommitments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProvisionsForCreditsToUnfundedCommitments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provisions for (credits to) unfunded commitments.",
        "label": "Provisions For Credits To Unfunded Commitments",
        "terseLabel": "Provisions for (credits to) unfunded commitments"
       }
      }
     },
     "localname": "ProvisionsForCreditsToUnfundedCommitments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_PublicFundDepositsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Public fund deposits.",
        "label": "Public Fund Deposits [Member]",
        "terseLabel": "Public Fund Deposits"
       }
      }
     },
     "localname": "PublicFundDepositsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_ReclassificationOfHeldToMaturitySecuritiesToAvailableForSaleSecurities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reclassification of held to maturity securities to available for sale securities.",
        "label": "Reclassification Of Held To Maturity Securities To Available For Sale Securities",
        "terseLabel": "Reclassification of securities held-to-maturity to securities available-for-sale"
       }
      }
     },
     "localname": "ReclassificationOfHeldToMaturitySecuritiesToAvailableForSaleSecurities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ReclassificationToOtherEquitySecurities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reclassification to other equity securities.",
        "label": "Reclassification To Other Equity Securities",
        "terseLabel": "Reclassification to other equity securities"
       }
      }
     },
     "localname": "ReclassificationToOtherEquitySecurities",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ReclassificationsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for reclassifications.",
        "label": "Reclassifications Policy Policy [Text Block]",
        "terseLabel": "Reclassifications"
       }
      }
     },
     "localname": "ReclassificationsPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_RegulatoryAssessments": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 8.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Regulatory assessments.",
        "label": "Regulatory Assessments",
        "terseLabel": "Regulatory assessments"
       }
      }
     },
     "localname": "RegulatoryAssessments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_RemeasurementOfNetDeferredTaxAsset": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": 2.0,
       "parentTag": "by_DeferredIncomeTaxExpenseBenefitBeforeReversalOfValuationAllowance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remeasurement of net deferred tax asset.",
        "label": "Remeasurement Of Net Deferred Tax Asset",
        "terseLabel": "Remeasurement of net deferred tax assets"
       }
      }
     },
     "localname": "RemeasurementOfNetDeferredTaxAsset",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_RepaymentsOfJuniorSubordinatedDebentures": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayments Of Junior Subordinated Debentures",
        "label": "Repayments Of Junior Subordinated Debentures",
        "negatedLabel": "Repayment of junior subordinated debentures"
       }
      }
     },
     "localname": "RepaymentsOfJuniorSubordinatedDebentures",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_RepaymentsOfPaycheckProtectionProgramLiquidityFacility": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayments of paycheck protection program liquidity facility.",
        "label": "Repayments Of Paycheck Protection Program Liquidity Facility",
        "negatedLabel": "Repayments of Paycheck Protection Program Liquidity Facility"
       }
      }
     },
     "localname": "RepaymentsOfPaycheckProtectionProgramLiquidityFacility",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_RequiredInvestmentInFederalHomeLoanBankConversionRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio applied to the conversion of required investment in Federal Home Loan Bank (FHL Bank) $1 for every $ 20.",
        "label": "Required Investment In Federal Home Loan Bank Conversion Ratio",
        "terseLabel": "Federal home loan bank, required investment conversion ratio"
       }
      }
     },
     "localname": "RequiredInvestmentInFederalHomeLoanBankConversionRatio",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "by_ReserveForUnfundedCommitments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reserve for unfunded commitments.",
        "label": "Reserve For Unfunded Commitments",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Reserve for unfunded commitments"
       }
      }
     },
     "localname": "ReserveForUnfundedCommitments",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ReserveForUnfundedCommitmentsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reserve for unfunded commitments.",
        "label": "Reserve For Unfunded Commitments Policy [Text Block]",
        "terseLabel": "Reserve for unfunded commitments"
       }
      }
     },
     "localname": "ReserveForUnfundedCommitmentsPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ReserveRequirementCashAndCashEquivalentsBank": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cash on hand or on deposit with the Federal Reserve Bank required to meet regulatory reserve and clearing requirements.",
        "label": "Reserve Requirement Cash And Cash Equivalents Bank",
        "terseLabel": "Reserve requirement"
       }
      }
     },
     "localname": "ReserveRequirementCashAndCashEquivalentsBank",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCashAndCashEquivalentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_RestrictedStockPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for restricted stock.",
        "label": "Restricted Stock Policy Policy [Text Block]",
        "terseLabel": "Restricted stock"
       }
      }
     },
     "localname": "RestrictedStockPolicyPolicyTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_RidgeStoneCapitalTrustIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "RidgeStone capital trust I.",
        "label": "Ridge Stone Capital Trust I [Member]",
        "terseLabel": "RidgeStone Capital Trust I"
       }
      }
     },
     "localname": "RidgeStoneCapitalTrustIMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_RidgestoneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ridgestone.",
        "label": "Ridgestone [Member]",
        "terseLabel": "Ridgestone"
       }
      }
     },
     "localname": "RidgestoneMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_RulesEffective2016January1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the information pertaining to Rules that became effective on January 1, 2016.",
        "label": "Rules Effective2016 January1 [Member]",
        "terseLabel": "Rules Phased in beginning January 2016"
       }
      }
     },
     "localname": "RulesEffective2016January1Member",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_SBAGuaranteedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "SBA guaranteed loans.",
        "label": "S B A Guaranteed Loans [Member]",
        "terseLabel": "SBA guaranteed loans"
       }
      }
     },
     "localname": "SBAGuaranteedLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_ScheduleOfCashFlowHedgesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of cash flow hedges.",
        "label": "Schedule Of Cash Flow Hedges Table [Text Block]",
        "terseLabel": "Summary of Cash Flow Hedges"
       }
      }
     },
     "localname": "ScheduleOfCashFlowHedgesTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfCertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value at acquisition of acquired loans accounted for as debt securities with evidence of deterioration of credit quality.",
        "label": "Schedule Of Certain Loans Acquired In Transfer Accounted For As Debt Securities Acquired During Period",
        "terseLabel": "Schedule of Estimated Fair Value of Impaired Loans Acquired at Acquisition"
       }
      }
     },
     "localname": "ScheduleOfCertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriod",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfCertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAndCarryingAmountTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of certain loans acquired in transfer not accounted for as debt securities outstanding balance and carrying amount.",
        "label": "Schedule Of Certain Loans Acquired In Transfer Not Accounted For As Debt Securities Outstanding Balance And Carrying Amount Table [Text Block]",
        "terseLabel": "Summary of Outstanding Balance and Carrying Amount of All Acquired Impaired Loans"
       }
      }
     },
     "localname": "ScheduleOfCertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalanceAndCarryingAmountTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule 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]",
        "terseLabel": "Summary of Contract or Notional Amount of Outstanding Loan and Lease Commitments"
       }
      }
     },
     "localname": "ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfDepositsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of deposits.",
        "label": "Schedule Of Deposits Table [Text Block]",
        "terseLabel": "Schedule of Deposits"
       }
      }
     },
     "localname": "ScheduleOfDepositsTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfGoodwillAndIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of Goodwill and Intangible Assets [Line Items],",
        "label": "Schedule Of Goodwill And Intangible Assets [Line Items]",
        "terseLabel": "Schedule Of Goodwill And Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillAndIntangibleAssetsLineItems",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_ScheduleOfGoodwillAndIntangibleAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule Of Goodwill and Intangible Assets [Table]",
        "label": "Schedule Of Goodwill And Intangible Assets [Table]",
        "terseLabel": "Schedule Of Goodwill And Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfGoodwillAndIntangibleAssetsTable",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "by_ScheduleOfInterestRateDerivativesAndOffsettingPositionsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of interest rate derivatives and offsetting positions.",
        "label": "Schedule Of Interest Rate Derivatives And Offsetting Positions Table [Text Block]",
        "terseLabel": "Summary of Company's Interest Rate Derivative and Offsetting Positions"
       }
      }
     },
     "localname": "ScheduleOfInterestRateDerivativesAndOffsettingPositionsTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule junior subordinated debt owed to unconsolidated subsidiary trust.",
        "label": "Schedule Of Junior Subordinated Debt Owed To Unconsolidated Subsidiary Trust Table [Text Block]",
        "terseLabel": "Junior Subordinated Debentures by Issuance"
       }
      }
     },
     "localname": "ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfOtherInterestRateDerivativesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of other interest rate derivatives.",
        "label": "Schedule Of Other Interest Rate Derivatives Table [Text Block]",
        "terseLabel": "Summary of Other Interest Rate Derivatives"
       }
      }
     },
     "localname": "ScheduleOfOtherInterestRateDerivativesTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfShortTermDebtAvailableForUseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of short term debt available for use.",
        "label": "Schedule Of Short Term Debt Available For Use Table [Text Block]",
        "terseLabel": "Summary of Short-term Credit Lines Available for Use"
       }
      }
     },
     "localname": "ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "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]",
        "terseLabel": "Schedule of Unpaid Principal Balance and Carrying Value for Acquired Non-Impaired Loans and Leases"
       }
      }
     },
     "localname": "ScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_SeriesANonCumulativePerpetualPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series A non-cumulative perpetual preferred stock.",
        "label": "Series A Non Cumulative Perpetual Preferred Stock [Member]",
        "terseLabel": "Series A Non-cumulative Perpetual Preferred Stock"
       }
      }
     },
     "localname": "SeriesANonCumulativePerpetualPreferredStockMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_SeriesBSevenPointFivePercentFixedToFloatingNonCumulativePerpetualPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Series B seven point five percent fixed to floating non-cumulative perpetual preferred stock.",
        "label": "Series B Seven Point Five Percent Fixed To Floating Non Cumulative Perpetual Preferred Stock [Member]",
        "terseLabel": "Series B 7.5% Fixed to Floating Non-Cumulative Perpetual Preferred Stock"
       }
      }
     },
     "localname": "SeriesBSevenPointFivePercentFixedToFloatingNonCumulativePerpetualPreferredStockMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_ServicingAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Servicing assets.",
        "label": "Servicing Assets [Member]",
        "terseLabel": "Servicing Assets"
       }
      }
     },
     "localname": "ServicingAssetsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardEarnedUnderReturnOnAverageAssetsInPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award earned under return on average assets in period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Earned Under Return On Average Assets In Period",
        "terseLabel": "Period for number of shares earned under return on average assets"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEarnedUnderReturnOnAverageAssetsInPeriod",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestGrantsInPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award equity instruments other than options expected to vest grants in period.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Equity Instruments Other Than Options Expected To Vest Grants In Period",
        "terseLabel": "Shares vest on grant date"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsExpectedToVestGrantsInPeriod",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumTargetPercentageOfPerformanceSharesOfAssetsOnPeerGroup": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award maximum target percentage of performance shares of assets on peer group.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Maximum Target Percentage Of Performance Shares Of Assets On Peer Group",
        "terseLabel": "Maximum target percentage in assets of peer group consisting publicly-traded bank holding companies"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumTargetPercentageOfPerformanceSharesOfAssetsOnPeerGroup",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardMinimumTargetPercentageOfPerformanceSharesOfAssetsOnPeerGroup": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award minimum target percentage of performance shares of assets on peer group.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Minimum Target Percentage Of Performance Shares Of Assets On Peer Group",
        "terseLabel": "Minimum target percentage in assets of peer group consisting publicly-traded bank holding companies"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardMinimumTargetPercentageOfPerformanceSharesOfAssetsOnPeerGroup",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesEarned": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award number of shares earned.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Number Of Shares Earned",
        "terseLabel": "number of shares earned"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesEarned",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodIntrinsicValue": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award options grants in period intrinsic value.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Options Grants In Period Intrinsic Value",
        "terseLabel": "Intrinsic Value, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodIntrinsicValue",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfTargetNumberOfSharesToBeEarned": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award percentage of target number of shares to be earned.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Percentage Of Target Number Of Shares To Be Earned",
        "terseLabel": "Percentage of target number of shares to be earned"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardPercentageOfTargetNumberOfSharesToBeEarned",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesVestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award shares vested number of shares.",
        "label": "Share Based Compensation Arrangement By Share Based Payment Award Shares Vested Number Of Shares",
        "terseLabel": "Shares vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardSharesVestedNumberOfShares",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_ShortTermLinesOfCreditAvailableForUse": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Short-term line of credit available for use.",
        "label": "Short Term Lines Of Credit Available For Use",
        "terseLabel": "Short-term credit lines available for use"
       }
      }
     },
     "localname": "ShortTermLinesOfCreditAvailableForUse",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_SingleIssuerTrustPreferredSecurityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Single issuer trust preferred security.",
        "label": "Single Issuer Trust Preferred Security [Member]",
        "terseLabel": "Single Issuer Trust Preferred"
       }
      }
     },
     "localname": "SingleIssuerTrustPreferredSecurityMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_StockRepurchaseProgramPercentOfSharesAuthorizedToBeRepurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock repurchase program percent of shares authorized to be repurchased.",
        "label": "Stock Repurchase Program Percent Of Shares Authorized To Be Repurchased",
        "terseLabel": "Approximate percentage of shares authorized to be repurchased"
       }
      }
     },
     "localname": "StockRepurchaseProgramPercentOfSharesAuthorizedToBeRepurchased",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_SubleaseContractExpirationPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sublease contract expiration period.",
        "label": "Sublease Contract Expiration Period",
        "terseLabel": "Sublease contract maturity year"
       }
      }
     },
     "localname": "SubleaseContractExpirationPeriod",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "by_SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Subordinated notes and junior subordinated debt owed to unconsolidated subsidiary trust.",
        "label": "Subordinated Notes And Junior Subordinated Debt Owed To Unconsolidated Subsidiary Trust [Text Block]",
        "terseLabel": "Subordinated Notes and Junior Subordinated Debentures"
       }
      }
     },
     "localname": "SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebentures"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_SummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of balances for each respective loan and lease category.",
        "label": "Summary Of Balances For Each Respective Loan And Lease Category Table [Text Block]",
        "terseLabel": "Summary of Balances for Each Respective Loan and Lease Category"
       }
      }
     },
     "localname": "SummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_SummaryOfChangeInBalanceForReserveForUnfundedCommitmentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of change in balance for reserve for unfunded commitments.",
        "label": "Summary of Change in Balance for Reserve for Unfunded Commitments [Table Text Block]",
        "terseLabel": "Summary of Change in Balance for Reserve for Unfunded Commitments"
       }
      }
     },
     "localname": "SummaryOfChangeInBalanceForReserveForUnfundedCommitmentsTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_SummaryOfChangesInAccretableYieldForAcquiredImpairmentLoansTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of changes in accretable yield for acquired impairment loans.",
        "label": "Summary Of Changes In Accretable Yield For Acquired Impairment Loans Table [Text Block]",
        "terseLabel": "Summary of Changes in Accretable Yield for Acquired Impaired Loans"
       }
      }
     },
     "localname": "SummaryOfChangesInAccretableYieldForAcquiredImpairmentLoansTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_SummaryOfLoansModifiedAsTroubledDebtRestructuringsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of loans modified as troubled debt restructurings.",
        "label": "Summary Of Loans Modified As Troubled Debt Restructurings Table [Text Block]",
        "terseLabel": "Summary of Loans Modified as Troubled Debt Restructurings"
       }
      }
     },
     "localname": "SummaryOfLoansModifiedAsTroubledDebtRestructuringsTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of unpaid principal balances of loans serviced for others.",
        "label": "Summary Of Unpaid Principal Balances Of Loans Serviced For Others Table [Text Block]",
        "terseLabel": "Unpaid Principal Balances of Loans Serviced for Others"
       }
      }
     },
     "localname": "SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarnings": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax Cuts and Jobs Act of 2017 reclassification from aoci to retained earnings.",
        "label": "Tax Cuts And Jobs Act Of2017 Reclassification From Aoci To Retained Earnings",
        "terseLabel": "Reclassification of certain income tax effects from accumulated other comprehensive income (loss)"
       }
      }
     },
     "localname": "TaxCutsAndJobsActOf2017ReclassificationFromAociToRetainedEarnings",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TaxYear2030Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax Year 2030.",
        "label": "Tax Year 2030 [Member]",
        "terseLabel": "2030"
       }
      }
     },
     "localname": "TaxYear2030Member",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_TaxYear2031Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax Year 2031.",
        "label": "Tax Year 2031 [Member]",
        "terseLabel": "2031"
       }
      }
     },
     "localname": "TaxYear2031Member",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_TerminationOfDesignatedAsCashFlowHedgesToReduceInterestRisk": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Termination of designated as cash flow hedges to reduce interest risk.",
        "label": "Termination Of Designated As Cash Flow Hedges To Reduce Interest Risk",
        "terseLabel": "Termination of designated as cash flow hedges to reduce interest risk"
       }
      }
     },
     "localname": "TerminationOfDesignatedAsCashFlowHedgesToReduceInterestRisk",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ThirdAnniversaryOfGrantDateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third anniversary of grant date.",
        "label": "Third Anniversary Of Grant Date [Member]",
        "terseLabel": "Third Anniversary of Grant Date"
       }
      }
     },
     "localname": "ThirdAnniversaryOfGrantDateMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_ThreeMonthLondonInterbankOfferedRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three-month LIBOR.",
        "label": "Three Month London Interbank Offered Rate [Member]",
        "terseLabel": "Three-month LIBOR"
       }
      }
     },
     "localname": "ThreeMonthLondonInterbankOfferedRateMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_ThreeMonthSecuredOvernightFinancingRatePlusFiveEightyEightBasisPointsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Three-Month Secured Overnight Financing Rate Plus Five Eighty Eight Basis Points.",
        "label": "Three Month Secured Overnight Financing Rate Plus Five Eighty Eight Basis Points [Member]",
        "terseLabel": "Three-Month Secured Overnight Financing Rate Plus 588 Basis Points"
       }
      }
     },
     "localname": "ThreeMonthSecuredOvernightFinancingRatePlusFiveEightyEightBasisPointsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_TimeDepositAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "No definition available.",
        "label": "Time Deposit [Abstract]"
       }
      }
     },
     "localname": "TimeDepositAbstract",
     "nsuri": "http://www.bylinebank.com/20211231",
     "xbrltype": "stringItemType"
    },
    "by_TimeDepositMaturitiesYearFiveAndThereafter": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time Deposit Maturities Year Five and Thereafter",
        "label": "Time Deposit Maturities Year Five and Thereafter",
        "terseLabel": "2026 and thereafter"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearFiveAndThereafter",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TimeDeposits250000OrMore": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time deposits 250000 or more.",
        "label": "Time Deposits250000 Or More",
        "terseLabel": "Time deposits ($250,000 and above)"
       }
      }
     },
     "localname": "TimeDeposits250000OrMore",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TimeDepositsLessThan250000": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time deposits less than 250000.",
        "label": "Time Deposits Less Than250000",
        "terseLabel": "Time deposits (below $250,000)"
       }
      }
     },
     "localname": "TimeDepositsLessThan250000",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TimeOptionsGrantsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Time options grants.",
        "label": "Time Options Grants [Member]",
        "terseLabel": "Time Options Grants"
       }
      }
     },
     "localname": "TimeOptionsGrantsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_TransfersOfLandAndPremisesAndOtherAssetsToAssetsHeldForSale": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfers of land and premises and other assets to assets held for sale.",
        "label": "Transfers Of Land And Premises And Other Assets To Assets Held For Sale",
        "verboseLabel": "Transfers in"
       }
      }
     },
     "localname": "TransfersOfLandAndPremisesAndOtherAssetsToAssetsHeldForSale",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleChangeInAssetsHeldForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TransfersOutLandAndPremisesToAssetsHeldForSale": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Transfers out land and premises to assets held for sale.",
        "label": "Transfers Out Land And Premises To Assets Held For Sale",
        "negatedLabel": "Transfers out"
       }
      }
     },
     "localname": "TransfersOutLandAndPremisesToAssetsHeldForSale",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleChangeInAssetsHeldForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TroubledDebtRestructuringsCommitmentsOutstanding": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Troubled debt restructurings, commitments outstanding.",
        "label": "Troubled Debt Restructurings Commitments Outstanding",
        "terseLabel": "Commitments outstanding on troubled debt restructurings"
       }
      }
     },
     "localname": "TroubledDebtRestructuringsCommitmentsOutstanding",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TrustPreferredSecuritiesInterestAndPreferredDividendsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trust preferred securities interest and preferred dividends.",
        "label": "Trust Preferred Securities Interest And Preferred Dividends [Member]",
        "terseLabel": "Trust Preferred Securities Interest and Preferred Dividends"
       }
      }
     },
     "localname": "TrustPreferredSecuritiesInterestAndPreferredDividendsMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_USDAGuaranteedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "USDA guaranteed loans.",
        "label": "U S D A Guaranteed Loans [Member]",
        "terseLabel": "USDA guaranteed loans"
       }
      }
     },
     "localname": "USDAGuaranteedLoansMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_UncertainTaxPositions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Uncertain tax positions.",
        "label": "Uncertain Tax Positions",
        "verboseLabel": "Uncertain tax positions"
       }
      }
     },
     "localname": "UncertainTaxPositions",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_UnderWriterMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Under Writer.",
        "label": "Under Writer [Member]",
        "terseLabel": "Underwriter"
       }
      }
     },
     "localname": "UnderWriterMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_VariableRateLoanCommitmentsMaturitiesEndingYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Variable rate loan commitments maturities ending year.",
        "label": "Variable Rate Loan Commitments Maturities Ending Year",
        "terseLabel": "Variable rate loan commitments maturity year"
       }
      }
     },
     "localname": "VariableRateLoanCommitmentsMaturitiesEndingYear",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "by_WatchMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Watch.",
        "label": "Watch [Member]",
        "terseLabel": "Watch"
       }
      }
     },
     "localname": "WatchMember",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_WealthManagementAndTrustIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 7.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Wealth management and trust income",
        "label": "Wealth Management And Trust Income",
        "terseLabel": "Wealth management and trust income"
       }
      }
     },
     "localname": "WealthManagementAndTrustIncome",
     "nsuri": "http://www.bylinebank.com/20211231",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "verboseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r1008",
      "r1009",
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r1008",
      "r1009",
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r1008",
      "r1009",
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code",
        "terseLabel": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r1008",
      "r1009",
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r1011"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "verboseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_DocumentsIncorporatedByReferenceTextBlock": {
     "auth_ref": [
      "r1006"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Documents incorporated by reference.",
        "label": "Documents Incorporated by Reference [Text Block]",
        "terseLabel": "Documents Incorporated by Reference"
       }
      }
     },
     "localname": "DocumentsIncorporatedByReferenceTextBlock",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One",
        "terseLabel": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressAddressLine2": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 2 such as Street or Suite number",
        "label": "Entity Address, Address Line Two",
        "terseLabel": "Entity Address, Address Line Two"
       }
      }
     },
     "localname": "EntityAddressAddressLine2",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town",
        "terseLabel": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code",
        "terseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressStateOrProvince": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the state or province.",
        "label": "Entity Address, State or Province",
        "terseLabel": "Entity Address, State or Province"
       }
      }
     },
     "localname": "EntityAddressStateOrProvince",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r1049"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
        "label": "Entity Ex Transition Period",
        "terseLabel": "Entity Ex Transition Period"
       }
      }
     },
     "localname": "EntityExTransitionPeriod",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number",
        "terseLabel": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code",
        "verboseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r1029"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current",
        "terseLabel": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityPublicFloat": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate market value of the voting and non-voting common equity held by non-affiliates computed by reference to the price at which the common equity was last sold, or the average bid and asked price of such common equity, as of the last business day of the registrant's most recently completed second fiscal quarter.",
        "label": "Entity Public Float",
        "terseLabel": "Entity Public Float"
       }
      }
     },
     "localname": "EntityPublicFloat",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "monetaryItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates that the company is a Smaller Reporting Company (SRC).",
        "label": "Entity Small Business",
        "terseLabel": "Entity Small Business"
       }
      }
     },
     "localname": "EntitySmallBusiness",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r1005"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
        "label": "Entity Tax Identification Number",
        "terseLabel": "Entity Tax Identification Number"
       }
      }
     },
     "localname": "EntityTaxIdentificationNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r1048"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r1008",
      "r1009",
      "r1010"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag",
        "terseLabel": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number",
        "terseLabel": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r1004"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of each class"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r1007"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name",
        "terseLabel": "Name of each exchange on which registered"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_CondensedBalanceSheetStatementTable": {
     "auth_ref": [
      "r148",
      "r628",
      "r1034"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed balance sheet, including, but not limited to, balance sheets of consolidated entities and consolidation eliminations.",
        "label": "Condensed Balance Sheet Statement [Table]",
        "terseLabel": "Condensed Balance Sheet Statement [Table]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementTable",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedBalanceSheetStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Balance Sheet Statements, Captions [Line Items]",
        "terseLabel": "Condensed Balance Sheet Statements Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedBalanceSheetStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedCashFlowStatementTable": {
     "auth_ref": [
      "r148",
      "r628",
      "r1043"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed cash flow statement, including, but not limited to, cash flow statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Cash Flow Statement [Table]",
        "terseLabel": "Condensed Cash Flow Statement [Table]"
       }
      }
     },
     "localname": "CondensedCashFlowStatementTable",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedCashFlowStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Cash Flow Statements, Captions [Line Items]",
        "terseLabel": "Condensed Cash Flow Statements Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedCashFlowStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Condensed Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureAbstract",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementTable": {
     "auth_ref": [
      "r148",
      "r628",
      "r1043"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about condensed income statement including, but not limited to, income statements of consolidated entities and consolidation eliminations.",
        "label": "Condensed Income Statement [Table]",
        "terseLabel": "Condensed Income Statement [Table]"
       }
      }
     },
     "localname": "CondensedIncomeStatementTable",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CondensedIncomeStatementsCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Condensed Income Statements, Captions [Line Items]",
        "terseLabel": "Condensed Income Statements Captions [Line Items]"
       }
      }
     },
     "localname": "CondensedIncomeStatementsCaptionsLineItems",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [
      "r148",
      "r421",
      "r425",
      "r430",
      "r631",
      "r632",
      "r636",
      "r637",
      "r768",
      "r1001",
      "r1032",
      "r1044",
      "r1045",
      "r1046"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by consolidated entity or group of entities.",
        "label": "Consolidated Entities [Axis]",
        "terseLabel": "Consolidated Entities"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [
      "r148",
      "r421",
      "r425",
      "r430",
      "r631",
      "r632",
      "r636",
      "r637",
      "r768",
      "r1001",
      "r1032",
      "r1044",
      "r1045",
      "r1046"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity or group of entities consolidated into reporting entity.",
        "label": "Consolidated Entities [Domain]",
        "terseLabel": "Consolidated Entities"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAdjustmentMember": {
     "auth_ref": [
      "r2",
      "r154",
      "r165",
      "r171",
      "r340",
      "r559",
      "r560",
      "r561",
      "r593",
      "r594",
      "r679",
      "r682",
      "r685",
      "r686",
      "r1052"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) to financial statements for cumulative-effect adjustment in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption, Adjustment [Member]",
        "terseLabel": "Cumulative-Effect Adjustment (ASU 2016-01)"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAdjustmentMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionAxis": {
     "auth_ref": [
      "r2",
      "r154",
      "r165",
      "r171",
      "r340",
      "r559",
      "r560",
      "r561",
      "r593",
      "r594",
      "r679",
      "r682",
      "r685",
      "r686",
      "r1052"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption [Axis]",
        "terseLabel": "Cumulative Effect, Period of Adoption"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_CumulativeEffectPeriodOfAdoptionDomain": {
     "auth_ref": [
      "r2",
      "r154",
      "r165",
      "r171",
      "r340",
      "r559",
      "r560",
      "r561",
      "r593",
      "r594",
      "r679",
      "r682",
      "r685",
      "r686",
      "r1052"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cumulative-effect adjustment to financial statements in period of adoption of amendment to accounting standards.",
        "label": "Cumulative Effect, Period of Adoption [Domain]",
        "terseLabel": "Cumulative Effect, Period of Adoption"
       }
      }
     },
     "localname": "CumulativeEffectPeriodOfAdoptionDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r435",
      "r466",
      "r521",
      "r524",
      "r782",
      "r783",
      "r784",
      "r790",
      "r791",
      "r792",
      "r831",
      "r946",
      "r949",
      "r1002",
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Upper limit of the provided range.",
        "label": "Maximum [Member]",
        "terseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r435",
      "r466",
      "r521",
      "r524",
      "r782",
      "r783",
      "r784",
      "r790",
      "r791",
      "r792",
      "r831",
      "r946",
      "r949",
      "r1002",
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lower limit of the provided range.",
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ParentCompanyMember": {
     "auth_ref": [
      "r148"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The registrant that controls, directly or indirectly, another entity (or entities). The usual condition for control is ownership of a majority (over 50%) of the outstanding voting stock. The power to control may also exist with a lesser percentage of ownership, for example, by contract, lease, agreement with other stockholders or by court decree.",
        "label": "Parent Company [Member]",
        "terseLabel": "Company"
       }
      }
     },
     "localname": "ParentCompanyMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r232",
      "r493",
      "r494",
      "r832",
      "r945",
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by product and service, or group of similar products and similar services.",
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r232",
      "r493",
      "r494",
      "r832",
      "r945",
      "r947"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Product or service, or a group of similar products or similar services.",
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r435",
      "r466",
      "r500",
      "r521",
      "r524",
      "r782",
      "r783",
      "r784",
      "r790",
      "r791",
      "r792",
      "r831",
      "r946",
      "r949",
      "r1002",
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r435",
      "r466",
      "r500",
      "r521",
      "r524",
      "r782",
      "r783",
      "r784",
      "r790",
      "r791",
      "r792",
      "r831",
      "r946",
      "r949",
      "r1002",
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Statistical measurement. Includes, but is not limited to, minimum, maximum, weighted average, arithmetic average, and median.",
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RegulatoryCapitalRequirementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Broker-Dealer, Net Capital Requirement, SEC Regulation [Abstract]"
       }
      }
     },
     "localname": "RegulatoryCapitalRequirementsAbstract",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r166",
      "r522",
      "r1030"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information reported for future period. Excludes information expected to be reported in future period for effect on historical fact.",
        "label": "Forecast [Member]",
        "terseLabel": "Forecast"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r166",
      "r171",
      "r522"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Domain]",
        "terseLabel": "Scenario"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScheduleOfCondensedFinancialStatementsTableTextBlock": {
     "auth_ref": [
      "r1047"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of condensed financial statements, including, but not limited to, the balance sheet, income statement, and statement of cash flows.",
        "label": "Condensed Financial Statements [Table Text Block]",
        "terseLabel": "Schedule of Statements of Condensed Financial Statements"
       }
      }
     },
     "localname": "ScheduleOfCondensedFinancialStatementsTableTextBlock",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [
      "r233",
      "r234",
      "r493",
      "r495",
      "r948",
      "r992",
      "r993",
      "r994",
      "r995",
      "r996",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1031",
      "r1035",
      "r1036",
      "r1037",
      "r1038",
      "r1039",
      "r1040",
      "r1041",
      "r1042"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Geographical area.",
        "label": "Geographical [Domain]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [
      "r233",
      "r234",
      "r493",
      "r495",
      "r948",
      "r984",
      "r992",
      "r993",
      "r994",
      "r995",
      "r996",
      "r997",
      "r998",
      "r999",
      "r1000",
      "r1031",
      "r1033"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by geographical components.",
        "label": "Geographical [Axis]",
        "terseLabel": "Geographical"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r166",
      "r171",
      "r414",
      "r522",
      "r773"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by scenario reported, distinguishing information from actual fact. Includes, but is not limited to, pro forma and forecast. Excludes actual facts.",
        "label": "Scenario [Axis]",
        "terseLabel": "Scenario"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_SubsidiariesMember": {
     "auth_ref": [
      "r510",
      "r763",
      "r764",
      "r765"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity owned or controlled by another entity.",
        "label": "Subsidiaries [Member]",
        "terseLabel": "Bank"
       }
      }
     },
     "localname": "SubsidiariesMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r782",
      "r784",
      "r792",
      "r1002",
      "r1003"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average of a range of values, calculated with consideration of proportional relevance.",
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "stpr_WI": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "WISCONSIN",
        "terseLabel": "Wisconsin"
       }
      }
     },
     "localname": "WI",
     "nsuri": "http://xbrl.sec.gov/stpr/2021",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingChangesAndErrorCorrectionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Changes and Error Corrections [Abstract]"
       }
      }
     },
     "localname": "AccountingChangesAndErrorCorrectionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201601Member": {
     "auth_ref": [
      "r710"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-01 Financial Instruments-Overall (Subtopic 825-10): Recognition and Measurement of Financial Assets and Financial Liabilities.",
        "label": "Accounting Standards Update 2016-01 [Member]",
        "terseLabel": "ASU 2016-01"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201601Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201602Member": {
     "auth_ref": [
      "r746"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-02 Leases (Topic 842).",
        "label": "Accounting Standards Update 2016-02 [Member]",
        "terseLabel": "Accounting Standards Update 201602"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201602Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201712Member": {
     "auth_ref": [
      "r672"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2017-12 Derivatives and Hedging (Topic 815): Targeted Improvements to Accounting for Hedging Activities.",
        "label": "Accounting Standards Update 2017-12 [Member]",
        "terseLabel": "ASU 2017-12"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201712Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdate201802Member": {
     "auth_ref": [
      "r89"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2018-02 Income Statement-Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income.",
        "label": "Accounting Standards Update 2018-02 [Member]",
        "terseLabel": "ASU 2018-02"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201802Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdateExtensibleList": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r157",
      "r158",
      "r159",
      "r161",
      "r276",
      "r277",
      "r337",
      "r338",
      "r339",
      "r340",
      "r343",
      "r344",
      "r420",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r563",
      "r593",
      "r594",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r684",
      "r685",
      "r686",
      "r687",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r720",
      "r721",
      "r759",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r1050",
      "r1051",
      "r1052",
      "r1053",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates amendment to accounting standards.",
        "label": "Accounting Standards Update [Extensible Enumeration]",
        "terseLabel": "Accounting Standards Update [Extensible List]"
       }
      }
     },
     "localname": "AccountingStandardsUpdateExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_AccountsNotesAndLoansReceivableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Accounts, Notes, Loans and Financing Receivable [Line Items]",
        "terseLabel": "Accounts Notes And Loans Receivable [Line Items]"
       }
      }
     },
     "localname": "AccountsNotesAndLoansReceivableLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountsReceivableGross": {
     "auth_ref": [
      "r236"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 17.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
        "label": "Accounts Receivable, before Allowance for Credit Loss",
        "terseLabel": "Due from counterparty"
       }
      }
     },
     "localname": "AccountsReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccountsReceivableRelatedParties": {
     "auth_ref": [
      "r29",
      "r143",
      "r764",
      "r765",
      "r931"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For an unclassified balance sheet, amount of receivables arising from transactions with related parties.",
        "label": "Accounts Receivable, Related Parties",
        "terseLabel": "Receivables outstanding from related parties"
       }
      }
     },
     "localname": "AccountsReceivableRelatedParties",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRelatedPartyTransactionsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r125"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The sum of the periodic adjustments of the differences between securities' face values and purchase prices that are charged against earnings. This is called accretion if the security was purchased at a discount and amortization if it was purchased at premium. As a noncash item, this element is an adjustment to net income when calculating cash provided by or used in operations using the indirect method.",
        "label": "Accretion (Amortization) of Discounts and Premiums, Investments",
        "negatedLabel": "Net amortization of securities"
       }
      }
     },
     "localname": "AccretionAmortizationOfDiscountsAndPremiumsInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionExpense": {
     "auth_ref": [
      "r406",
      "r407",
      "r408"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 18.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Accretion Expense",
        "terseLabel": "Accretion of junior subordinated debentures discount"
       }
      }
     },
     "localname": "AccretionExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 8.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.",
        "label": "Accrued Liabilities and Other Liabilities",
        "terseLabel": "Accrued expenses and other liabilities",
        "totalLabel": "Accrued Liabilities and Other Liabilities, Total"
       }
      }
     },
     "localname": "AccruedLiabilitiesAndOtherLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r44"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of accrued expenses.",
        "label": "Accrued Liabilities, Fair Value Disclosure",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "AccruedLiabilitiesFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r40",
      "r399"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated depreciation, depletion and amortization for physical assets used in the normal conduct of business to produce goods and services.",
        "label": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment",
        "negatedLabel": "Less accumulated depreciation and amortization and impairment",
        "periodEndLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Ending Balance",
        "periodStartLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Beginning Balance",
        "totalLabel": "Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember": {
     "auth_ref": [
      "r75",
      "r85",
      "r86",
      "r87",
      "r88",
      "r634"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member]",
        "terseLabel": "Unrealized Gains (Losses) on Cash Flow Hedges"
       }
      }
     },
     "localname": "AccumulatedGainLossNetCashFlowHedgeParentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "auth_ref": [
      "r68",
      "r69",
      "r70",
      "r75",
      "r85",
      "r86",
      "r87"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "AOCI, Accumulated Gain (Loss), Debt Securities, Available-for-sale, Parent [Member]",
        "terseLabel": "Unrealized Gains (Losses) on Available-for-Sale Securities"
       }
      }
     },
     "localname": "AccumulatedNetUnrealizedInvestmentGainLossMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax": {
     "auth_ref": [
      "r67",
      "r72",
      "r74"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change, net of tax, in accumulated gains and losses from derivative instruments designated and qualifying as the effective portion of cash flow hedges. Includes an entity's share of an equity investee's Increase or Decrease in deferred hedging gains or losses.",
        "label": "Accumulated Other Comprehensive Income (Loss), Cumulative Changes in Net Gain (Loss) from Cash Flow Hedges, Effect Net of Tax",
        "periodEndLabel": "Accumulated Other Comprehensive Income (Loss), Cumulative Changes in Net Gain (Loss) from Cash Flow Hedges, Effect Net of Tax, Ending Balance",
        "periodStartLabel": "Accumulated Other Comprehensive Income (Loss), Cumulative Changes in Net Gain (Loss) from Cash Flow Hedges, Effect Net of Tax, Beginning Balance",
        "terseLabel": "Remaining balance in accumulated other comprehensive income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Accumulated Other Comprehensive Income (Loss) [Line Items]",
        "terseLabel": "Accumulated Other Comprehensive Income Loss [Line Items]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r33",
      "r72",
      "r74",
      "r75",
      "r928",
      "r957",
      "r961"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 5.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end. Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners. Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Accumulated other comprehensive income (loss), net of tax",
        "totalLabel": "Accumulated Other Comprehensive Income (Loss), Net of Tax, Total"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accumulated Other Comprehensive Income (Loss), Net of Tax [Abstract]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossNetOfTaxAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossTable": {
     "auth_ref": [
      "r85",
      "r86",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r729"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about components of accumulated other comprehensive income (loss).",
        "label": "Accumulated Other Comprehensive Income (Loss) [Table]",
        "terseLabel": "Accumulated Other Comprehensive Income Loss [Table]"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r71",
      "r75",
      "r85",
      "r86",
      "r87",
      "r151",
      "r152",
      "r153",
      "r635",
      "r952",
      "r953",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "AOCI Attributable to Parent [Member]",
        "terseLabel": "Accumulated Other Comprehensive Income (Loss)",
        "verboseLabel": "Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r31",
      "r563",
      "r771"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 2.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of excess of issue price over par or stated value of stock and from other transaction involving stock or stockholder. Includes, but is not limited to, additional paid-in capital (APIC) for common and preferred stock.",
        "label": "Additional Paid in Capital",
        "periodEndLabel": "Additional Paid in Capital, Ending Balance",
        "periodStartLabel": "Additional Paid in Capital, Beginning Balance",
        "terseLabel": "Additional paid-in capital",
        "totalLabel": "Additional Paid in Capital, Total"
       }
      }
     },
     "localname": "AdditionalPaidInCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r151",
      "r152",
      "r153",
      "r559",
      "r560",
      "r561",
      "r685"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Additional Paid-in Capital [Member]",
        "terseLabel": "Additional Paid-In Capital"
       }
      }
     },
     "localname": "AdditionalPaidInCapitalMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r157",
      "r158",
      "r159",
      "r161",
      "r171",
      "r276",
      "r277",
      "r337",
      "r338",
      "r339",
      "r340",
      "r343",
      "r344",
      "r420",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r563",
      "r591",
      "r592",
      "r593",
      "r594",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r684",
      "r685",
      "r686",
      "r687",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r720",
      "r721",
      "r759",
      "r834",
      "r835",
      "r836",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r1050",
      "r1051",
      "r1052",
      "r1053",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by amendment to accounting standards.",
        "label": "Accounting Standards Update [Axis]",
        "terseLabel": "Accounting Standards Update"
       }
      }
     },
     "localname": "AdjustmentsForNewAccountingPronouncementsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r526",
      "r528",
      "r565",
      "r566"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
        "label": "APIC, Share-based Payment Arrangement, Increase for Cost Recognition",
        "terseLabel": "Share-based compensation expense",
        "totalLabel": "APIC, Share-based Payment Arrangement, Increase for Cost Recognition, Total"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "Adjustments to reconcile net income to net cash from operating activities:"
       }
      }
     },
     "localname": "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdvancesFromFederalHomeLoanBanks": {
     "auth_ref": [
      "r904"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 2.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Advances from Federal Home Loan Banks",
        "terseLabel": "Federal Home Loan Bank advances",
        "totalLabel": "Advances from Federal Home Loan Banks, Total"
       }
      }
     },
     "localname": "AdvancesFromFederalHomeLoanBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdvertisingCostsPolicyTextBlock": {
     "auth_ref": [
      "r568"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for advertising cost.",
        "label": "Advertising Cost [Policy Text Block]",
        "terseLabel": "Advertising expense"
       }
      }
     },
     "localname": "AdvertisingCostsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_AgencySecuritiesMember": {
     "auth_ref": [
      "r328"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities issued by government sponsored entities.",
        "label": "Agency Securities [Member]",
        "terseLabel": "Agency"
       }
      }
     },
     "localname": "AgencySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r528",
      "r551",
      "r564"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for award under share-based payment arrangement. Excludes amount capitalized.",
        "label": "Share-based Payment Arrangement, Expense",
        "terseLabel": "Total share-based compensation",
        "verboseLabel": "Compensation expense"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts": {
     "auth_ref": [
      "r243"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of recovery of loans and lease receivables which had previously been fully or partially written-off as bad debts.",
        "label": "Allowance for Loan and Lease Loss, Recovery of Bad Debts",
        "terseLabel": "Recoveries"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossRecoveryOfBadDebts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of allowance reserve for credit loss.",
        "label": "Allowance for Loan and Lease Losses, Period Increase (Decrease)",
        "terseLabel": "Increase (decrease) in allowance for loan and lease losses",
        "totalLabel": "Allowance for Loan and Lease Losses, Period Increase (Decrease), Total"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesRollForward": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
        "label": "Allowance for Loan and Lease Losses [Roll Forward]",
        "terseLabel": "Allowance for loan and lease losses"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesRollForward",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs": {
     "auth_ref": [
      "r242"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loans and leases that have been written off from both loan receivables and allowance reserve for credit loss.",
        "label": "Allowance for Loan and Lease Losses, Write-offs",
        "negatedLabel": "Charge-offs"
       }
      }
     },
     "localname": "AllowanceForLoanAndLeaseLossesWriteOffs",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfAcquisitionCosts": {
     "auth_ref": [
      "r124",
      "r382"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 16.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Amortization of Acquisition Costs",
        "terseLabel": "Net amortization of other acquisition accounting adjustments"
       }
      }
     },
     "localname": "AmortizationOfAcquisitionCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r98",
      "r124",
      "r448",
      "r734"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 17.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of amortization expense attributable to debt issuance costs.",
        "label": "Amortization of Debt Issuance Costs",
        "terseLabel": "Amortization of subordinated debt issuance cost"
       }
      }
     },
     "localname": "AmortizationOfFinancingCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r124",
      "r382",
      "r390"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 9.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Amortization of Intangible Assets",
        "negatedLabel": "Amortization or accretion",
        "terseLabel": "Other intangible assets amortization expense",
        "totalLabel": "Amortization of Intangible Assets, Total"
       }
      }
     },
     "localname": "AmortizationOfIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetBackedSecuritiesMember": {
     "auth_ref": [
      "r309",
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Asset-backed Securities [Member]",
        "terseLabel": "Asset-Backed Securities"
       }
      }
     },
     "localname": "AssetBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r139",
      "r215",
      "r224",
      "r230",
      "r335",
      "r421",
      "r422",
      "r423",
      "r424",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r631",
      "r636",
      "r708",
      "r769",
      "r771",
      "r847",
      "r925"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized. Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets",
        "totalLabel": "Total assets"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [Abstract]",
        "terseLabel": "ASSETS"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r689"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
        "label": "Assets, Fair Value Disclosure",
        "terseLabel": "Assets, Fair Value",
        "verboseLabel": "Impaired loans at fair value"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsParentheticalDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNeededForImmediateSettlementAggregateFairValue": {
     "auth_ref": [
      "r663"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate fair value of assets needed to immediately settle the derivative instruments with credit-risk-related contingent features if the credit-risk-related contingent features were triggered at the end of the reporting period.",
        "label": "Assets Needed for Immediate Settlement, Aggregate Fair Value",
        "terseLabel": "Settlement obligation termination value"
       }
      }
     },
     "localname": "AssetsNeededForImmediateSettlementAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperation": {
     "auth_ref": [
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r403"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount classified as assets attributable to disposal group held for sale or disposed of.",
        "label": "Disposal Group, Including Discontinued Operation, Assets",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "totalLabel": "Disposal Group, Including Discontinued Operation, Assets, Total"
       }
      }
     },
     "localname": "AssetsOfDisposalGroupIncludingDiscontinuedOperation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleChangeInAssetsHeldForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r294"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Gain, before Tax",
        "terseLabel": "Available-for-sale Securities, Gross Unrealized Gains"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r295"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-sale, Accumulated Gross Unrealized Loss, before Tax",
        "negatedLabel": "Available-for-sale Securities, Gross Unrealized Losses"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r292",
      "r363"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-sale, Amortized Cost",
        "totalLabel": "Available-for-sale Securities, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleDebtSecuritiesAmortizedCostBasis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r300"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Available-for-sale Securities, Due from five to ten years, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r296",
      "r300",
      "r895"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 5 Through 10",
        "terseLabel": "Available-for-sale Securities, Due from five to ten years, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "auth_ref": [
      "r299"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Available-for-sale Securities, Due from one to five years, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r296",
      "r299",
      "r894"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Available-for-sale Securities, Due from one to five years, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r301"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Available-for-sale Securities, Due after ten years, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r296",
      "r301",
      "r896"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, after Year 10",
        "terseLabel": "Available-for-sale Securities, Due after ten years, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Amortized Cost, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Available-for-sale Securities Debt Maturities, Amortized Cost [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Fair Value, Fiscal Year Maturity [Abstract]",
        "terseLabel": "Available-for-sale Securities Debt Maturities, Fair Value [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "auth_ref": [
      "r298"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Amortized Cost, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Available-for-sale Securities, Due in one year or less, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r296",
      "r298",
      "r893"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-Sale, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Available-for-sale Securities, Due in one year or less, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "auth_ref": [
      "r302"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Maturity, without Single Maturity Date, Amortized Cost",
        "terseLabel": "Available-for-sale Securities, Not due at single maturity, Amortized Cost"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "auth_ref": [
      "r302",
      "r897"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_AvailableForSaleSecuritiesDebtSecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Maturity, without Single Maturity Date, Fair Value",
        "terseLabel": "Available-for-sale Securities, Not due at single maturity, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r288",
      "r293",
      "r363",
      "r853"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Debt Securities, Available-for-sale",
        "terseLabel": "Securities available-for-sale, at fair value",
        "totalLabel": "Available-for-sale Securities, Fair Value, Total",
        "verboseLabel": "Available-for-sale Securities, Fair Value"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesDebtSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Available-for-sale, Realized Gain (Loss) [Abstract]"
       }
      }
     },
     "localname": "AvailableForSaleSecuritiesGrossRealizedGainLossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableforsaleSecuritiesMember": {
     "auth_ref": [
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale).",
        "label": "Available-for-sale Securities [Member]",
        "terseLabel": "Available-for-sale Securities"
       }
      }
     },
     "localname": "AvailableforsaleSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r529",
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of award under share-based payment arrangement.",
        "label": "Award Type [Axis]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "AwardTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r846"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 15.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Bank Owned Life Insurance",
        "terseLabel": "Bank-owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsurance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankOwnedLifeInsuranceIncome": {
     "auth_ref": [
      "r876"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 23.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Earnings on or other increases in the value of the cash surrender value of bank owned life insurance policies.",
        "label": "Bank Owned Life Insurance Income",
        "negatedLabel": "Net gain on death benefit of bank owned life insurance"
       }
      }
     },
     "localname": "BankOwnedLifeInsuranceIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankServicingMember": {
     "auth_ref": [
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Collection and processing of payment on mortgage, credit card and other financial asset held by others.",
        "label": "Bank Servicing [Member]",
        "terseLabel": "Loan Servicing Revenue [Member]"
       }
      }
     },
     "localname": "BankServicingMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BuildingsAndImprovementsGross": {
     "auth_ref": [
      "r13",
      "r398"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation of building structures held for productive use including addition, improvement, or renovation to the structure, including, but not limited to, interior masonry, interior flooring, electrical, and plumbing.",
        "label": "Buildings and Improvements, Gross",
        "terseLabel": "Premises",
        "totalLabel": "Buildings and Improvements, Gross, Total"
       }
      }
     },
     "localname": "BuildingsAndImprovementsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r520",
      "r523"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
        "label": "Business Acquisition, Acquiree [Domain]",
        "terseLabel": "Business Acquisition, Acquiree"
       }
      }
     },
     "localname": "BusinessAcquisitionAcquireeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r520",
      "r523",
      "r613",
      "r614"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by business combination or series of individually immaterial business combinations.",
        "label": "Business Acquisition [Axis]",
        "terseLabel": "Business Acquisition"
       }
      }
     },
     "localname": "BusinessAcquisitionAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionDateOfAcquisitionAgreement1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the business acquisition agreement was executed, in YYYY-MM-DD format.",
        "label": "Business Acquisition, Date of Acquisition Agreement",
        "terseLabel": "Business acquisition date of agreement"
       }
      }
     },
     "localname": "BusinessAcquisitionDateOfAcquisitionAgreement1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned": {
     "auth_ref": [
      "r626"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of equity interests (such as common shares, preferred shares, or partnership interest) issued or issuable to acquire the entity.",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Value Assigned",
        "terseLabel": "Value of common stock consideration"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestIssuedOrIssuableValueAssigned",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued": {
     "auth_ref": [
      "r626"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of equity interests issued or issuable to acquire entity.",
        "label": "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares",
        "terseLabel": "Stock issued (in shares)",
        "verboseLabel": "Issuance of common shares"
       }
      }
     },
     "localname": "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_BusinessAcquisitionLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Business Acquisition [Line Items]",
        "terseLabel": "Business Acquisition [Line Items]"
       }
      }
     },
     "localname": "BusinessAcquisitionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaEarningsPerShareBasic": {
     "auth_ref": [
      "r611",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Acquisition, Pro Forma Earnings Per Share, Basic",
        "terseLabel": "Earnings per share\u2014basic"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaEarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaEarningsPerShareDiluted": {
     "auth_ref": [
      "r611",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Acquisition, Pro Forma Earnings Per Share, Diluted",
        "terseLabel": "Earnings per share\u2014diluted"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaEarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_BusinessAcquisitionProFormaInformationTextBlock": {
     "auth_ref": [
      "r611",
      "r612"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Acquisition, Pro Forma Information [Table Text Block]",
        "terseLabel": "Summary of Pro Forma Information for Results of Operations"
       }
      }
     },
     "localname": "BusinessAcquisitionProFormaInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionSharePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Price of a single share of a number of saleable stocks paid or offered to be paid in a business combination.",
        "label": "Business Acquisition, Share Price",
        "terseLabel": "Stock issued (in dollars per share)",
        "verboseLabel": "Common stock issued price per share"
       }
      }
     },
     "localname": "BusinessAcquisitionSharePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaNetIncomeLoss": {
     "auth_ref": [
      "r611",
      "r612"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Acquisition, Pro Forma Net Income (Loss)",
        "terseLabel": "Net income"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaNetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessAcquisitionsProFormaRevenue": {
     "auth_ref": [
      "r611",
      "r612"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The pro forma revenue for a period as if the business combination or combinations had been completed at the beginning of the period.",
        "label": "Business Acquisition, Pro Forma Revenue",
        "terseLabel": "Total revenues (net interest income and non-interest income)"
       }
      }
     },
     "localname": "BusinessAcquisitionsProFormaRevenue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfProFormaInformationForResultsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesEstimatedUncollectible": {
     "auth_ref": [
      "r618"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails": {
       "order": 1.0,
       "parentTag": "by_BusinessCombinationEstimateOfContractualCashFlowsExpectedToBeCollected",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Acquired Receivables, Estimated Uncollectible",
        "terseLabel": "Estimate of contractual cash flows not expected to be collected"
       }
      }
     },
     "localname": "BusinessCombinationAcquiredReceivablesEstimatedUncollectible",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesFairValue": {
     "auth_ref": [
      "r616"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of acquired receivable from business combination, excluding certain loans and debt securities acquired in transfer.",
        "label": "Business Combination, Acquired Receivable, Fair Value",
        "terseLabel": "Fair value"
       }
      }
     },
     "localname": "BusinessCombinationAcquiredReceivablesFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationAcquiredReceivablesGrossContractualAmount": {
     "auth_ref": [
      "r617"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails": {
       "order": 0.0,
       "parentTag": "by_BusinessCombinationEstimateOfContractualCashFlowsExpectedToBeCollected",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Acquired Receivables, Gross Contractual Amount",
        "terseLabel": "Gross contractual amounts receivable"
       }
      }
     },
     "localname": "BusinessCombinationAcquiredReceivablesGrossContractualAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationAcquisitionRelatedCosts": {
     "auth_ref": [
      "r610"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Acquisition Related Costs",
        "terseLabel": "Acquisition advisory expenses"
       }
      }
     },
     "localname": "BusinessCombinationAcquisitionRelatedCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "auth_ref": [
      "r622",
      "r623",
      "r624"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Consideration Transferred",
        "terseLabel": "Total merger consideration",
        "totalLabel": "Total consideration paid"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferred1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Consideration Transferred [Abstract]",
        "terseLabel": "Consideration paid"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable": {
     "auth_ref": [
      "r622",
      "r623"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of equity interests of the acquirer, including instruments or interests issued or issuable in consideration for the business combination.",
        "label": "Business Combination, Consideration Transferred, Equity Interests Issued and Issuable",
        "terseLabel": "Common stock (2019 - 1,464,558 shares issued at $20.02 per share, 2018 - 6,682,850 shares issued at $21.62 per share)"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationDisclosureTextBlock": {
     "auth_ref": [
      "r627"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Business Combination Disclosure [Text Block]",
        "terseLabel": "Acquisition of a Business"
       }
      }
     },
     "localname": "BusinessCombinationDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusiness"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessCombinationIntegrationRelatedCosts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Integration Related Costs",
        "terseLabel": "Core system conversion expenses"
       }
      }
     },
     "localname": "BusinessCombinationIntegrationRelatedCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets",
        "totalLabel": "Total assets acquired"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Assets [Abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssetsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions, 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.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Cash and Equivalents",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Marketable Securities",
        "terseLabel": "Securities available-for-sale"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsMarketableSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Current Assets, Receivables",
        "terseLabel": "Loans"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssetsReceivables",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax asset attributable to deductible temporary differences and carryforwards acquired at the acquisition date.",
        "label": "Business Combination Recognized Identifiable Assets Acquired and Liabilities Assumed, Deferred Tax Assets",
        "terseLabel": "Deferred tax assets, net"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of intangible assets, excluding goodwill, acquired at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill",
        "terseLabel": "Other intangible assets",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Intangible Assets, Other than Goodwill, Total"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities",
        "totalLabel": "Total liabilities assumed"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Liabilities [Abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet": {
     "auth_ref": [
      "r615",
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount recognized as of the acquisition date for the identifiable assets acquired in excess of (less than) the aggregate liabilities assumed.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Net",
        "totalLabel": "Net assets acquired"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of long-term debt due after one year or the normal operating cycle, if longer, assumed at the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Noncurrent Liabilities, Long-term Debt",
        "terseLabel": "Junior subordinated debentures"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesLongTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets": {
     "auth_ref": [
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 9.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Other Noncurrent Assets",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherNoncurrentAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment": {
     "auth_ref": [
      "r615",
      "r619"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of property, plant, and equipment recognized as of the acquisition date.",
        "label": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment",
        "terseLabel": "Premises and equipment",
        "totalLabel": "Business Combination, Recognized Identifiable Assets Acquired and Liabilities Assumed, Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessCombinationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business Combinations [Abstract]"
       }
      }
     },
     "localname": "BusinessCombinationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationsPolicy": {
     "auth_ref": [
      "r609"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for completed business combinations (purchase method, acquisition method or combination of entities under common control). This accounting policy may include a general discussion of the purchase method or acquisition method of accounting (including for example, the treatment accorded contingent consideration, the identification of assets and liabilities, the purchase price allocation process, how the fair values of acquired assets and liabilities are determined) and the entity's specific application thereof. An entity that acquires another entity in a leveraged buyout transaction generally discloses the accounting policy followed by the acquiring entity in determining the basis used to value its interest in the acquired entity, and the rationale for that accounting policy.",
        "label": "Business Combinations Policy [Policy Text Block]",
        "terseLabel": "Business combinations"
       }
      }
     },
     "localname": "BusinessCombinationsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessDescriptionAndAccountingPoliciesTextBlock": {
     "auth_ref": [
      "r150",
      "r209"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the business description and accounting policies 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. Accounting policies describe all significant accounting policies of the reporting entity.",
        "label": "Business Description and Accounting Policies [Text Block]",
        "terseLabel": "Business and Summary of Significant Accounting Policies"
       }
      }
     },
     "localname": "BusinessDescriptionAndAccountingPoliciesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_Capital": {
     "auth_ref": [
      "r911"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of total capital as defined by regulatory framework.",
        "label": "Banking Regulation, Total Capital, Actual",
        "terseLabel": "Total capital to risk weighted assets, Actual Amount"
       }
      }
     },
     "localname": "Capital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeases": {
     "auth_ref": [
      "r741"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net investment in direct financing leases as of the balance sheet date consisting of: (a) minimum lease payments due on direct financing leases, (b) unguaranteed residual value, and (c) any unamortized initial direct costs; less: (i) executory costs, (ii) unearned income, and (iii) the accumulated allowance for uncollectible minimum lease payments.",
        "label": "Capital Leases, Net Investment in Direct Financing Leases",
        "totalLabel": "Lease financial receivables before allowance for lease losses"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Capital Leases, Net Investment in Direct Financing Leases [Abstract]",
        "terseLabel": "Lease financing receivables"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesDeferredIncome": {
     "auth_ref": [
      "r745"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 2.0,
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining (unamortized) difference between the gross investment in a direct financing lease and the cost or carrying amount, if different, of the leased property as of the balance sheet date.",
        "label": "Capital Leases, Net Investment in Direct Financing Leases, Deferred Income",
        "negatedLabel": "Unearned income"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesInitialDirectCosts": {
     "auth_ref": [
      "r737",
      "r744"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Remaining unamortized costs as of the balance sheet date that were essential to acquiring the lease, and that would not otherwise have been incurred without the lease agreement, including evaluating the lessee's credit condition, guarantees, and collateral and costs incurred negotiating, processing, and closing the lease agreement.",
        "label": "Capital Leases, Net Investment in Direct Financing Leases, Initial Direct Costs",
        "terseLabel": "Initial direct costs"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesInitialDirectCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived": {
     "auth_ref": [
      "r742"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 0.0,
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of remaining payments as of the balance sheet date that lessees are obligated to make or can be required to make under direct financing leases, including any guarantee of residual value and executory costs. The amount also includes any guaranteed rental payments by an unrelated third-party provided that are financially capable of making such payments.",
        "label": "Capital Leases, Net Investment in Direct Financing Leases, Minimum Payments to be Received",
        "terseLabel": "Net minimum lease payments"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesUnguaranteedResidualValuesOfLeasedProperty": {
     "auth_ref": [
      "r743"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 1.0,
       "parentTag": "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The estimate of the lease property's economic value at the end of the direct financing lease term excluding any amounts guaranteed by either the lessee or a third-party.",
        "label": "Capital Leases, Net Investment in Direct Financing Leases, Unguaranteed Residual Values of Leased Property",
        "terseLabel": "Unguaranteed residual values"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesUnguaranteedResidualValuesOfLeasedProperty",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalRequiredForCapitalAdequacy": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum total risk-based capital required for capital adequacy as defined by regulatory framework.",
        "label": "Banking Regulation, Total Risk-Based Capital, Capital Adequacy, Minimum",
        "terseLabel": "Total capital to risk weighted assets, Minimum Amount Required for Adequately Capitalized Amount"
       }
      }
     },
     "localname": "CapitalRequiredForCapitalAdequacy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of minimum total risk-based capital to risk-weighted assets required for capital adequacy as defined by regulatory framework.",
        "label": "Banking Regulation, Total Risk-Based Capital Ratio, Capital Adequacy, Minimum",
        "terseLabel": "Total capital to risk weighted assets, Minimum Amount Required for Adequately Capitalized Ratio ( as a percentage)"
       }
      }
     },
     "localname": "CapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_CapitalRequiredToBeWellCapitalized": {
     "auth_ref": [
      "r911"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum total risk-based capital categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
        "label": "Banking Regulation, Total Risk-Based Capital, Well Capitalized, Minimum",
        "terseLabel": "Total capital to risk weighted assets, Minimum Amount To Be Well Capitalized Amount"
       }
      }
     },
     "localname": "CapitalRequiredToBeWellCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of minimum total risk-based capital to risk-weighted assets categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
        "label": "Banking Regulation, Total Risk-Based Capital Ratio, Well Capitalized, Minimum",
        "terseLabel": "Total capital to risk weighted assets, Minimum Amount To Be Well Capitalized Ratio (as a percentage)"
       }
      }
     },
     "localname": "CapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_CapitalToRiskWeightedAssets": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of total risk-based capital to risk-weighted assets as defined by regulatory framework.",
        "label": "Banking Regulation, Total Risk-Based Capital Ratio, Actual",
        "terseLabel": "Total capital to risk weighted assets, Actual Ratio ( as a percentage)"
       }
      }
     },
     "localname": "CapitalToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r706",
      "r707"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as reported on the statement of financial position (balance sheet).",
        "label": "Reported Value Measurement [Member]",
        "terseLabel": "Carrying Amount"
       }
      }
     },
     "localname": "CarryingReportedAmountFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Cash": {
     "auth_ref": [
      "r37",
      "r771",
      "r963",
      "r964"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash",
        "periodEndLabel": "Cash, Ending Balance",
        "periodStartLabel": "Cash, Beginning Balance",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "Cash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r12",
      "r37",
      "r126"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 0.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of currency on hand as well as demand deposits with banks or financial institutions. Includes other kinds of accounts that have the general characteristics of demand deposits. Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates. Excludes cash and cash equivalents within disposal group and discontinued operation.",
        "label": "Cash and Cash Equivalents, at Carrying Value",
        "periodEndLabel": "Cash and Cash Equivalents, at Carrying Value, Ending Balance",
        "periodStartLabel": "Cash and Cash Equivalents, at Carrying Value, Beginning Balance",
        "totalLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsAtCarryingValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndCashEquivalentsPolicyTextBlock": {
     "auth_ref": [
      "r14",
      "r129"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for cash and cash equivalents, including the policy for determining which items are treated as cash equivalents. Other information that may be disclosed includes (1) the nature of any restrictions on the entity's use of its cash and cash equivalents, (2) whether the entity's cash and cash equivalents are insured or expose the entity to credit risk, (3) the classification of any negative balance accounts (overdrafts), and (4) the carrying basis of cash equivalents (for example, at cost) and whether the carrying amount of cash equivalents approximates fair value.",
        "label": "Cash and Cash Equivalents, Policy [Policy Text Block]",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r844"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 0.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Cash and Due from Banks",
        "terseLabel": "Cash and due from banks",
        "totalLabel": "Cash and Due from Banks, Total"
       }
      }
     },
     "localname": "CashAndDueFromBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r120",
      "r126",
      "r134"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage. Excludes amount for disposal group and discontinued operations. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
        "periodEndLabel": "CASH AND CASH EQUIVALENTS, end of period",
        "periodStartLabel": "CASH AND CASH EQUIVALENTS, beginning of period",
        "totalLabel": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Total"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r120",
      "r722"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change. Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits. Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
        "label": "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
        "totalLabel": "NET (DECREASE) INCREASE IN CASH AND CASH EQUIVALENTS"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashDividendsPaidToParentCompanyByUnconsolidatedSubsidiaries": {
     "auth_ref": [
      "r149"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Revenues",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents disclosure of the aggregate cash dividends paid to the entity by unconsolidated subsidiaries.",
        "label": "SEC Schedule, 12-04, Cash Dividends Paid to Registrant, Unconsolidated Subsidiaries",
        "negatedLabel": "Dividends from subsidiary"
       }
      }
     },
     "localname": "CashDividendsPaidToParentCompanyByUnconsolidatedSubsidiaries",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowHedgingMember": {
     "auth_ref": [
      "r642"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Cash Flow Hedging [Member]",
        "terseLabel": "Cash Flow Hedges"
       }
      }
     },
     "localname": "CashFlowHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF NON-CASH INVESTING AND FINANCING ACTIVITIES:"
       }
      }
     },
     "localname": "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue": {
     "auth_ref": [
      "r280",
      "r283"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value 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, at Acquisition, at Fair Value",
        "totalLabel": "Estimated fair value of impaired loans acquired at acquisition",
        "verboseLabel": "Loans acquired"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition": {
     "auth_ref": [
      "r280",
      "r283"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodAtAcquisitionAtFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Certain Loans Acquired in Transfer Accounted for as Debt Securities, Acquired During Period, Cash Flows Expected to be Collected at Acquisition",
        "totalLabel": "Undiscounted cash flows expected to be collected"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition": {
     "auth_ref": [
      "r280",
      "r283"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodCashFlowsExpectedToBeCollectedAtAcquisition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of contractually required payments receivable 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, Contractually Required Payments Receivable at Acquisition",
        "terseLabel": "Undiscounted contractual cash flows"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisition",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield": {
     "auth_ref": [
      "r280",
      "r282"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion": {
     "auth_ref": [
      "r280",
      "r282"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Accretion",
        "negatedLabel": "Accretion to interest income"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAdditions": {
     "auth_ref": [
      "r280",
      "r282"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of additions 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.",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Additions",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAdditions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsFromNonaccretableDifference": {
     "auth_ref": [
      "r280",
      "r282"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase of reclassification from nonaccretable difference 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.",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Reclassifications from Nonaccretable Difference",
        "terseLabel": "Reclassification from nonaccretable difference"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsFromNonaccretableDifference",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet": {
     "auth_ref": [
      "r280",
      "r281"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The recorded balance, net of any applicable reductions (for example, unamortized accretable yield and allowance for loan losses).  This relates to loans not accounted for debt securities with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Carrying Amount, Net",
        "terseLabel": "Carrying Value"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance": {
     "auth_ref": [
      "r280",
      "r281"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The undiscounted sum of all amounts, including amounts deemed principal, interest, fees, penalties, and other under the loan, owed to the investor at the reporting date, whether or not currently due and whether or not any such amounts have been written or charged off by the investor.  This relates to loans not accounted for as debt securities, with evidence of deterioration of credit quality since origination that were acquired by completion of a transfer for which it is probable, at acquisition, that the investor will be unable to collect all contractually required payments receivable.",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Outstanding Balance",
        "terseLabel": "Unpaid Principal Balance",
        "totalLabel": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Outstanding Balance, Total"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r136",
      "r139",
      "r177",
      "r181",
      "r182",
      "r185",
      "r187",
      "r198",
      "r199",
      "r200",
      "r335",
      "r421",
      "r425",
      "r426",
      "r427",
      "r430",
      "r431",
      "r464",
      "r465",
      "r469",
      "r473",
      "r708",
      "r1012"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share of stock differentiated by the voting rights the holder receives. Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
        "label": "Class of Stock [Domain]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "ClassOfStockDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ClassOfStockLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Class of Stock [Line Items]",
        "terseLabel": "Class Of Stock [Line Items]"
       }
      }
     },
     "localname": "ClassOfStockLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralAlreadyPostedAggregateFairValue": {
     "auth_ref": [
      "r662"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate fair value of assets that are already posted, at the end of the reporting period, as collateral for derivative instruments with credit-risk-related contingent features.",
        "label": "Collateral Already Posted, Aggregate Fair Value",
        "terseLabel": "Collateral amount posted"
       }
      }
     },
     "localname": "CollateralAlreadyPostedAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r357"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Axis]",
        "terseLabel": "Collateral Held"
       }
      }
     },
     "localname": "CollateralAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Category of collateral or no collateral, from lender's perspective.",
        "label": "Collateral Held [Domain]",
        "terseLabel": "Collateral Held"
       }
      }
     },
     "localname": "CollateralDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r302",
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities collateralized by commercial real estate mortgage loans.",
        "label": "Commercial Mortgage Backed Securities [Member]",
        "terseLabel": "Mortgage-Backed Securities; Commercial"
       }
      }
     },
     "localname": "CommercialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialRealEstatePortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to commercial real estate.",
        "label": "Commercial Real Estate Portfolio Segment [Member]",
        "terseLabel": "Commercial Real Estate"
       }
      }
     },
     "localname": "CommercialRealEstatePortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommitmentsAndContingencies": {
     "auth_ref": [
      "r49",
      "r413",
      "r861",
      "r933"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
        "label": "Commitments and Contingencies",
        "terseLabel": "COMMITMENTS AND CONTINGENT LIABILITIES (Note 17)"
       }
      }
     },
     "localname": "CommitmentsAndContingencies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments and Contingencies Disclosure [Abstract]"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock": {
     "auth_ref": [
      "r410",
      "r411",
      "r412",
      "r415",
      "r987"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for commitments and contingencies.",
        "label": "Commitments and Contingencies Disclosure [Text Block]",
        "terseLabel": "Commitments and Contingent Liabilities"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsAndContingenciesPolicyTextBlock": {
     "auth_ref": [
      "r417",
      "r988"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for commitments and contingencies, which may include policies for recognizing and measuring loss and gain contingencies.",
        "label": "Commitments and Contingencies, Policy [Policy Text Block]",
        "terseLabel": "Loss contingencies"
       }
      }
     },
     "localname": "CommitmentsAndContingenciesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CommitmentsToExtendCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan commitments are legally binding commitments to extend credit to a counterparty under certain terms and conditions.",
        "label": "Commitments to Extend Credit [Member]",
        "terseLabel": "Commitments to Extend Credit"
       }
      }
     },
     "localname": "CommitmentsToExtendCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "auth_ref": [
      "r51"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate number of common shares reserved for future issuance.",
        "label": "Common Stock, Capital Shares Reserved for Future Issuance",
        "terseLabel": "Common stock reserved for sale",
        "verboseLabel": "Number of common stock reserved for issuance"
       }
      }
     },
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r151",
      "r152",
      "r685"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Stock that is subordinate to all other stock of the issuer.",
        "label": "Common Stock [Member]",
        "terseLabel": "Common Stock"
       }
      }
     },
     "localname": "CommonStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of common stock.",
        "label": "Common Stock, Par or Stated Value Per Share",
        "terseLabel": "Common stock, voting par value",
        "verboseLabel": "Common stock, par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
        "label": "Common Stock, Shares Authorized",
        "terseLabel": "Common stock, voting shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r28"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury). These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized. Shares issued include shares outstanding and shares held in the treasury.",
        "label": "Common Stock, Shares, Issued",
        "terseLabel": "Common stock, voting shares issued",
        "totalLabel": "Common Stock, Shares, Issued, Total"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r28",
      "r480"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "terseLabel": "Shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r28",
      "r771"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 1.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer). This item includes treasury stock repurchased by the entity. Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
        "label": "Common Stock, Value, Issued",
        "periodEndLabel": "Common Stock, Value, Issued, Ending Balance",
        "periodStartLabel": "Common Stock, Value, Issued, Beginning Balance",
        "terseLabel": "Common stock, voting $0.01 par value at December 31, 2021 and 2020; 150,000,000 shares authorized at December 31, 2021 and 2020; 39,203,747 shares issued at December 31, 2021 and 38,736,540 issued at December 31, 2020",
        "totalLabel": "Common Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Communication": {
     "auth_ref": [
      "r102"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 11.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense incurred in the period for communication, which is the exchange of information by several methods.",
        "label": "Communication",
        "terseLabel": "Telecommunications"
       }
      }
     },
     "localname": "Communication",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CompensationAndRetirementDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Retirement Benefits [Abstract]"
       }
      }
     },
     "localname": "CompensationAndRetirementDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Compliance with Regulatory Capital Requirements under Banking Regulations [Line Items]",
        "terseLabel": "Compliance With Regulatory Capital Requirements Under Banking Regulations [Line Items]"
       }
      }
     },
     "localname": "ComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r80",
      "r82",
      "r83",
      "r95",
      "r868",
      "r938"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
        "totalLabel": "Comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r94",
      "r103",
      "r867",
      "r937"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Comprehensive Income (Loss) Note [Text Block]",
        "terseLabel": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "ComprehensiveIncomeNoteTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLoss"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ComprehensiveIncomePolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for comprehensive income.",
        "label": "Comprehensive Income, Policy [Policy Text Block]",
        "terseLabel": "Comprehensive income"
       }
      }
     },
     "localname": "ComprehensiveIncomePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConcentrationRiskCreditRisk": {
     "auth_ref": [
      "r203",
      "r919"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for credit risk.",
        "label": "Concentration Risk, Credit Risk, Policy [Policy Text Block]",
        "terseLabel": "Concentrations of credit risk"
       }
      }
     },
     "localname": "ConcentrationRiskCreditRisk",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock": {
     "auth_ref": [
      "r6",
      "r148",
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for condensed financial information, including the financial position, cash flows, and the results of operations of the registrant (parent company) as of the same dates or for the same periods for which audited consolidated financial statements are being presented. Alternatively, the details of this disclosure can be reported by the specific parent company taxonomy elements, indicating the appropriate date and period contexts in an instance document.",
        "label": "Condensed Financial Information of Parent Company Only Disclosure [Text Block]",
        "terseLabel": "Parent Company Only Condensed Financial Statements"
       }
      }
     },
     "localname": "CondensedFinancialInformationOfParentCompanyOnlyDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConsolidationPolicyTextBlock": {
     "auth_ref": [
      "r135",
      "r633"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
        "label": "Consolidation, Policy [Policy Text Block]",
        "terseLabel": "Basis of financial statement presentation and consolidation"
       }
      }
     },
     "localname": "ConsolidationPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ConstructionInProgressMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Structure or a modification to a structure under construction. Includes recently completed structures or modifications to structures that have not been placed into service.",
        "label": "Construction in Progress [Member]",
        "terseLabel": "Construction in progress"
       }
      }
     },
     "localname": "ConstructionInProgressMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CoreDepositsMember": {
     "auth_ref": [
      "r905"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity's long-term relationships with depositors, commonly known as core deposit intangibles, which are separate from the financial instruments themselves.",
        "label": "Core Deposits [Member]",
        "terseLabel": "Core Deposits"
       }
      }
     },
     "localname": "CoreDepositsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "auth_ref": [
      "r501",
      "r516",
      "r962"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debt securities issued by domestic or foreign corporate business, banks and other entities with a promise of repayment.",
        "label": "Corporate Debt Securities [Member]",
        "terseLabel": "Corporate Securities"
       }
      }
     },
     "localname": "CorporateDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditDerivativesByContractTypeAxis": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type of contract of credit derivatives.",
        "label": "Credit Derivatives Contract Type [Axis]",
        "terseLabel": "Credit Derivatives Contract Type"
       }
      }
     },
     "localname": "CreditDerivativesByContractTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditDerivativesContractTypeDomain": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents major types of credit derivative contracts.",
        "label": "Credit Derivatives Contract Type [Domain]",
        "terseLabel": "Credit Derivatives Contract Type"
       }
      }
     },
     "localname": "CreditDerivativesContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditFacilityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Axis]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditFacilityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of credit facility. Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
        "label": "Credit Facility [Domain]",
        "terseLabel": "Credit Facility"
       }
      }
     },
     "localname": "CreditFacilityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditLossStatusAxis": {
     "auth_ref": [
      "r285",
      "r362",
      "r373"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by credit loss status of financial asset.",
        "label": "Credit Loss Status [Axis]",
        "terseLabel": "Credit Loss Status"
       }
      }
     },
     "localname": "CreditLossStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditLossStatusDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit loss status of financial asset.",
        "label": "Credit Loss Status [Domain]",
        "terseLabel": "Credit Loss Status"
       }
      }
     },
     "localname": "CreditLossStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CurrentFederalTaxExpenseBenefit": {
     "auth_ref": [
      "r140",
      "r588",
      "r600"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current Federal Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "CurrentFederalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r140",
      "r588",
      "r600",
      "r602"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations.",
        "label": "Current Income Tax Expense (Benefit)",
        "totalLabel": "Total current tax expense"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "terseLabel": "Current tax expense:"
       }
      }
     },
     "localname": "CurrentIncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CurrentStateAndLocalTaxExpenseBenefit": {
     "auth_ref": [
      "r140",
      "r588",
      "r600"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_CurrentIncomeTaxExpenseBenefit",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current state and local tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Current State and Local Tax Expense (Benefit)",
        "terseLabel": "State and local"
       }
      }
     },
     "localname": "CurrentStateAndLocalTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r621"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Customer relationship that exists between an entity and its customer, for example, but not limited to, tenant relationships.",
        "label": "Customer Relationships [Member]",
        "terseLabel": "Customer Relationships"
       }
      }
     },
     "localname": "CustomerRelationshipsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesGainLoss": {
     "auth_ref": [
      "r97",
      "r99"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 4.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unrealized and realized gain (loss) on investment in debt and equity securities.",
        "label": "Debt and Equity Securities, Gain (Loss)",
        "negatedLabel": "Net gains on sales of securities available-for-sale",
        "terseLabel": "Net gains on sales of securities available-for-sale",
        "totalLabel": "Debt and Equity Securities, Gain (Loss), Total"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Disclosure [Abstract]"
       }
      }
     },
     "localname": "DebtDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentAxis": {
     "auth_ref": [
      "r19",
      "r21",
      "r22",
      "r138",
      "r148",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r452",
      "r453",
      "r454",
      "r455",
      "r735",
      "r848",
      "r851",
      "r922"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instrument [Axis]",
        "terseLabel": "Debt Instrument"
       }
      }
     },
     "localname": "DebtInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
        "label": "Debt Instrument, Basis Spread on Variable Rate",
        "terseLabel": "Interest Rate Spread",
        "verboseLabel": "Interest rate spread"
       }
      }
     },
     "localname": "DebtInstrumentBasisSpreadOnVariableRate1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r22",
      "r450",
      "r851",
      "r922"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
        "label": "Long-term Debt, Gross",
        "terseLabel": "Loans"
       }
      }
     },
     "localname": "DebtInstrumentCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentDescriptionOfVariableRateBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of reference rate used for variable rate of debt instrument.",
        "label": "Debt Instrument, Description of Variable Rate Basis",
        "terseLabel": "Debt instrument, description of variable rate basis",
        "verboseLabel": "Interest Rate Spread, Description"
       }
      }
     },
     "localname": "DebtInstrumentDescriptionOfVariableRateBasis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r432",
      "r452",
      "r453",
      "r733",
      "r735",
      "r736"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face (par) amount of debt instrument at time of issuance.",
        "label": "Debt Instrument, Face Amount",
        "terseLabel": "Debt instrument, face amount"
       }
      }
     },
     "localname": "DebtInstrumentFaceAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r46",
      "r451",
      "r733",
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
        "label": "Debt Instrument, Interest Rate, Effective Percentage",
        "terseLabel": "Contractual Rate",
        "verboseLabel": "Contractual rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateEffectivePercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r46",
      "r433"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractual interest rate for funds borrowed, under the debt agreement.",
        "label": "Debt Instrument, Interest Rate, Stated Percentage",
        "terseLabel": "Debt instrument, interest rate"
       }
      }
     },
     "localname": "DebtInstrumentInterestRateStatedPercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Instrument [Line Items]",
        "terseLabel": "Debt Instrument [Line Items]"
       }
      }
     },
     "localname": "DebtInstrumentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r47",
      "r435",
      "r694"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date when the debt instrument is scheduled to be fully repaid, in YYYY-MM-DD format.",
        "label": "Debt Instrument, Maturity Date",
        "terseLabel": "Debt instrument, maturity date",
        "verboseLabel": "Stated Maturity"
       }
      }
     },
     "localname": "DebtInstrumentMaturityDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentMeasurementInput": {
     "auth_ref": [
      "r694"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure debt instrument, including, but not limited to, convertible and non-convertible debt.",
        "label": "Debt Instrument, Measurement Input",
        "terseLabel": "Unobservable Inputs"
       }
      }
     },
     "localname": "DebtInstrumentMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_DebtInstrumentMeasurementInputExtensibleList": {
     "auth_ref": [
      "r693",
      "r709"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates measurement input for debt instrument, including, but not limited to, convertible and non-convertible debt.",
        "label": "Debt Instrument, Measurement Input [Extensible Enumeration]",
        "terseLabel": "Debt Instrument, Measurement Input [Extensible List]"
       }
      }
     },
     "localname": "DebtInstrumentMeasurementInputExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r48",
      "r138",
      "r148",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r452",
      "r453",
      "r454",
      "r455",
      "r735"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instrument, Name [Domain]",
        "terseLabel": "Debt Instrument, Name"
       }
      }
     },
     "localname": "DebtInstrumentNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionDescription": {
     "auth_ref": [
      "r906"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of debt redemption features under terms of the debt agreement.",
        "label": "Debt Instrument, Redemption, Description",
        "terseLabel": "Debt instrument, redemption, description"
       }
      }
     },
     "localname": "DebtInstrumentRedemptionDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r48",
      "r138",
      "r148",
      "r432",
      "r433",
      "r434",
      "r435",
      "r436",
      "r437",
      "r438",
      "r439",
      "r440",
      "r441",
      "r442",
      "r443",
      "r444",
      "r445",
      "r446",
      "r447",
      "r448",
      "r449",
      "r452",
      "r453",
      "r454",
      "r455",
      "r481",
      "r485",
      "r486",
      "r487",
      "r732",
      "r733",
      "r735",
      "r736",
      "r907"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Schedule of Long-term Debt Instruments [Table]",
        "terseLabel": "Debt Instrument [Table]"
       }
      }
     },
     "localname": "DebtInstrumentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r439",
      "r732",
      "r736"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt discount.",
        "label": "Debt Instrument, Unamortized Discount",
        "negatedLabel": "Discount",
        "totalLabel": "Debt Instrument, Unamortized Discount, Total"
       }
      }
     },
     "localname": "DebtInstrumentUnamortizedDiscount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentValuationTechniqueExtensibleList": {
     "auth_ref": [
      "r693",
      "r709"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates valuation technique for measuring debt instrument, including, but not limited to, convertible and non-convertible debt.",
        "label": "Debt Instrument, Valuation Technique [Extensible Enumeration]",
        "terseLabel": "Debt Instrument, Valuation Technique [Extensible List]"
       }
      }
     },
     "localname": "DebtInstrumentValuationTechniqueExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r322",
      "r369",
      "r372"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer",
        "terseLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r322",
      "r369"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "negatedLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, 12 Months or Longer, Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r322",
      "r369",
      "r372"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months",
        "terseLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r322",
      "r369"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Less than 12 Months, Unrealized Losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain": {
     "auth_ref": [
      "r325"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-sale, Realized Gain",
        "terseLabel": "Gross gains"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedGain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss": {
     "auth_ref": [
      "r325"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Available-for-sale, Realized Loss",
        "terseLabel": "Gross losses"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleRealizedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r318",
      "r365",
      "r372"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position",
        "totalLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Total Fair Value"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r319",
      "r366"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss",
        "negatedTotalLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Total Unrealized Losses",
        "totalLabel": "Debt Securities, Available-for-sale, Unrealized Loss Position, Accumulated Loss, Total"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions": {
     "auth_ref": [
      "r320",
      "r367"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Debt Securities, Available-for-sale, Unrealized Loss Position, Number of Positions",
        "terseLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Number of Securities"
       }
      }
     },
     "localname": "DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DeferredFederalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r140",
      "r589",
      "r600"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": 0.0,
       "parentTag": "by_DeferredIncomeTaxExpenseBenefitBeforeReversalOfValuationAllowance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred federal income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Federal Income Tax Expense (Benefit)",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DeferredFederalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r41",
      "r439",
      "r734"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
        "label": "Debt Issuance Costs, Net",
        "terseLabel": "Debt issuance costs",
        "totalLabel": "Debt Issuance Costs, Net, Total"
       }
      }
     },
     "localname": "DeferredFinanceCostsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r571",
      "r572"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 16.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, with jurisdictional netting.",
        "label": "Deferred Income Tax Assets, Net",
        "terseLabel": "Deferred tax assets, net",
        "totalLabel": "Deferred Income Tax Assets, Net, Total"
       }
      }
     },
     "localname": "DeferredIncomeTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r124",
      "r140",
      "r589",
      "r600",
      "r601",
      "r602"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 21.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred Income Tax Expense (Benefit)",
        "terseLabel": "Deferred tax benefit",
        "totalLabel": "Deferred Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Income Tax Expense (Benefit), Continuing Operations [Abstract]",
        "terseLabel": "Deferred tax expense (benefit):"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefitContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredIncomeTaxLiabilities": {
     "auth_ref": [
      "r24",
      "r25",
      "r579",
      "r849",
      "r921"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred Tax Liabilities, Gross",
        "negatedTotalLabel": "Total deferred tax liabilities",
        "totalLabel": "Deferred Tax Liabilities, Gross, Total"
       }
      }
     },
     "localname": "DeferredIncomeTaxLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r140",
      "r589",
      "r600"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": 1.0,
       "parentTag": "by_DeferredIncomeTaxExpenseBenefitBeforeReversalOfValuationAllowance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred state and local tax expense (benefit) pertaining to income (loss) from continuing operations.",
        "label": "Deferred State and Local Income Tax Expense (Benefit)",
        "terseLabel": "State and local"
       }
      }
     },
     "localname": "DeferredStateAndLocalIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsDerivativeInstruments": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from derivative instruments.",
        "label": "Deferred Tax Assets, Derivative Instruments",
        "terseLabel": "Net unrealized holding losses on cash flow hedges"
       }
      }
     },
     "localname": "DeferredTaxAssetsDerivativeInstruments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGross": {
     "auth_ref": [
      "r580"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredTaxAssetsLiabilitiesNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Gross",
        "totalLabel": "Total deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsGrossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Assets, Gross [Abstract]",
        "terseLabel": "Deferred tax assets:"
       }
      }
     },
     "localname": "DeferredTaxAssetsGrossAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredTaxAssetsLiabilitiesNet": {
     "auth_ref": [
      "r581"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting.",
        "label": "Deferred Tax Assets, Net",
        "totalLabel": "Net deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssetsLiabilitiesNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r581"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred Tax Assets, Net of Valuation Allowance",
        "terseLabel": "Deferred tax assets, net",
        "totalLabel": "Deferred Tax Assets, Net of Valuation Allowance, Total"
       }
      }
     },
     "localname": "DeferredTaxAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsOther": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 8.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other.",
        "label": "Deferred Tax Assets, Other",
        "terseLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxAssetsOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsPropertyPlantAndEquipment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from property, plant, and equipment.",
        "label": "Deferred Tax Assets, Property, Plant and Equipment",
        "terseLabel": "Premises and equipment"
       }
      }
     },
     "localname": "DeferredTaxAssetsPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from accrued liabilities.",
        "label": "Deferred Tax Assets, Tax Deferred Expense, Reserves and Accruals, Accrued Liabilities",
        "terseLabel": "Accrued expenses"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAccruedLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredTaxAssetsGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary difference from allowance for credit loss on financing receivable.",
        "label": "Deferred Tax Asset, Tax Deferred Expense, Reserve and Accrual, Financing Receivable, Allowance for Credit Loss",
        "terseLabel": "Allowance for loan and lease losses and loan basis"
       }
      }
     },
     "localname": "DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Tax Liabilities, Gross [Abstract]",
        "terseLabel": "Deferred tax liabilities:"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from intangible assets other than goodwill.",
        "label": "Deferred Tax Liabilities, Intangible Assets",
        "negatedLabel": "Core deposit intangibles"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesGoodwillAndIntangibleAssetsIntangibleAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesMortgageServicingRights": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from mortgage servicing rights.",
        "label": "Deferred Tax Liabilities, Mortgage Servicing Rights",
        "negatedLabel": "Servicing assets"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesMortgageServicingRights",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesOther": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences classified as other.",
        "label": "Deferred Tax Liabilities, Other",
        "negatedLabel": "Other"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment": {
     "auth_ref": [
      "r586",
      "r587"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DeferredIncomeTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment.",
        "label": "Deferred Tax Liabilities, Property, Plant and Equipment",
        "negatedLabel": "Premises and equipment"
       }
      }
     },
     "localname": "DeferredTaxLiabilitiesPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanCostRecognized": {
     "auth_ref": [
      "r519"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost for defined contribution plan.",
        "label": "Defined Contribution Plan, Cost",
        "terseLabel": "Employer contribution to Plan"
       }
      }
     },
     "localname": "DefinedContributionPlanCostRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Defined Contribution Plan Disclosure [Line Items]",
        "terseLabel": "Employee Benefit Plans"
       }
      }
     },
     "localname": "DefinedContributionPlanDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of discretionary contributions made by an employer to a defined contribution plan.",
        "label": "Defined Contribution Plan, Employer Discretionary Contribution Amount",
        "terseLabel": "Profit sharing contributions"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerDiscretionaryContributionAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercent": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan.",
        "label": "Defined Contribution Plan, Employer Matching Contribution, Percent of Employees' Gross Pay",
        "terseLabel": "Contribution by employees"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerMatchingContributionPercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedContributionPlanEmployerMatchingContributionPercentOfMatch": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage employer matches of the employee's percentage contribution matched.",
        "label": "Defined Contribution Plan, Employer Matching Contribution, Percent of Match",
        "terseLabel": "Employer matching contribution"
       }
      }
     },
     "localname": "DefinedContributionPlanEmployerMatchingContributionPercentOfMatch",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DefinedContributionPlanTable": {
     "auth_ref": [
      "r519"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about defined contribution pension plans or defined contribution other postretirement plans, separately for pension plans and other postretirement benefit plans.",
        "label": "Defined Contribution Plan [Table]",
        "terseLabel": "Defined Contribution Plan [Table]"
       }
      }
     },
     "localname": "DefinedContributionPlanTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepositAccountMember": {
     "auth_ref": [
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Bank account at depository institution allowing money to be withdrawn or deposited by account holder.",
        "label": "Deposit Account [Member]",
        "terseLabel": "Fees and Service Charges on Deposits [Member]"
       }
      }
     },
     "localname": "DepositAccountMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "auth_ref": [
      "r855",
      "r903",
      "r1027",
      "r1028"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Deposit Liabilities Disclosures [Text Block]",
        "terseLabel": "Deposits"
       }
      }
     },
     "localname": "DepositLiabilitiesDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDeposits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepositLiabilitiesReclassifiedAsLoansReceivable1": {
     "auth_ref": [
      "r902"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deposits held by the entity that have been reclassified as loan balances receivable, for example, but not limited to, overdrafts receivable.",
        "label": "Deposit Liabilities Reclassified as Loans Receivable",
        "terseLabel": "Overdraft deposits reclassified as loans"
       }
      }
     },
     "localname": "DepositLiabilitiesReclassifiedAsLoansReceivable1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Deposits": {
     "auth_ref": [
      "r855"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 0.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Deposits",
        "totalLabel": "Total deposits"
       }
      }
     },
     "localname": "Deposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deposits [Abstract]"
       }
      }
     },
     "localname": "DepositsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DepreciationAmortizationAndAccretionNet": {
     "auth_ref": [
      "r124"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 5.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Depreciation, Amortization and Accretion, Net",
        "terseLabel": "Depreciation and amortization of premises and equipment",
        "totalLabel": "Depreciation, Amortization and Accretion, Net, Total"
       }
      }
     },
     "localname": "DepreciationAmortizationAndAccretionNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiability": {
     "auth_ref": [
      "r57",
      "r66",
      "r648"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative Asset, Fair Value, Gross Liability",
        "terseLabel": "Less: Amounts offset in the Consolidated Statements of Financial Condition"
       }
      }
     },
     "localname": "DerivativeAssetFairValueGrossLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Asset, Fair Value, Amount Not Offset Against Collateral [Abstract]",
        "terseLabel": "Gross amounts not offset in the Consolidated Statements of Financial Condition"
       }
      }
     },
     "localname": "DerivativeAssetFairValueNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection": {
     "auth_ref": [
      "r60",
      "r62"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative Asset, Fair Value, Offset Against Collateral, Net of Not Subject to Master Netting Arrangement, Policy Election",
        "totalLabel": "Net credit exposure"
       }
      }
     },
     "localname": "DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangementDeduction": {
     "auth_ref": [
      "r59",
      "r62"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative Asset, Not Subject to Master Netting Arrangement Deduction",
        "negatedLabel": "Offsetting derivative positions"
       }
      }
     },
     "localname": "DerivativeAssetNotSubjectToMasterNettingArrangementDeduction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r58",
      "r61",
      "r64",
      "r705"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset",
        "terseLabel": "Derivative assets",
        "totalLabel": "Net amount presented in the Consolidated Statements of Financial Condition"
       }
      }
     },
     "localname": "DerivativeAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAverageRemainingMaturity1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative, Average Remaining Maturity",
        "terseLabel": "Weighted average maturity"
       }
      }
     },
     "localname": "DerivativeAverageRemainingMaturity1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_DerivativeContractTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial instrument or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.",
        "label": "Derivative Contract [Domain]",
        "terseLabel": "Derivative Contract"
       }
      }
     },
     "localname": "DerivativeContractTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r56",
      "r64",
      "r65",
      "r648",
      "r795"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial asset or other contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes assets elected not to be offset. Excludes assets not subject to a master netting arrangement.",
        "label": "Derivative Asset, Fair Value, Gross Asset",
        "terseLabel": "Other Assets",
        "totalLabel": "Derivative Asset, Fair Value, Gross Asset, Total",
        "verboseLabel": "Derivative assets fair value"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r62",
      "r668"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 2.0,
       "parentTag": "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effects of master netting arrangements, 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. Includes assets not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Asset, Fair Value, Amount Offset Against Collateral",
        "negatedLabel": "Collateral posted",
        "terseLabel": "Collateral posted",
        "totalLabel": "Derivative Asset, Fair Value, Amount Offset Against Collateral, Total"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r56",
      "r64",
      "r65",
      "r648",
      "r795"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, before effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities elected not to be offset. Excludes liabilities not subject to a master netting arrangement.",
        "label": "Derivative Liability, Fair Value, Gross Liability",
        "negatedLabel": "Other Liabilities",
        "negatedTerseLabel": "Derivative liabilities fair value",
        "terseLabel": "Other Liabilities",
        "totalLabel": "Derivative Liability, Fair Value, Gross Liability, Total",
        "verboseLabel": "Derivative liabilities fair value"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r62",
      "r668"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after effects of master netting arrangements, 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 offset against the right to receive collateral. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability, Fair Value, Amount Offset Against Collateral",
        "negatedLabel": "Collateral posted",
        "totalLabel": "Derivative Liability, Fair Value, Amount Offset Against Collateral, Total"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r64",
      "r646",
      "r649",
      "r655",
      "r659"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of derivative contract.",
        "label": "Derivative Instrument [Axis]",
        "terseLabel": "Derivative Instrument"
       }
      }
     },
     "localname": "DerivativeInstrumentRiskAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Instruments and Hedging Activities Disclosure [Abstract]"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock": {
     "auth_ref": [
      "r675",
      "r688"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for derivative instruments and hedging activities including, but not limited to, risk management strategies, non-hedging derivative instruments, assets, liabilities, revenue and expenses, and methodologies and assumptions used in determining the amounts.",
        "label": "Derivative Instruments and Hedging Activities Disclosure [Text Block]",
        "terseLabel": "Derivative Instruments and Hedge Activities"
       }
      }
     },
     "localname": "DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r643",
      "r646",
      "r655"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of hedging relationship.",
        "label": "Hedging Relationship [Axis]",
        "terseLabel": "Hedging Relationship"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable": {
     "auth_ref": [
      "r643",
      "r646",
      "r655",
      "r659",
      "r660",
      "r670",
      "r673"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about the location and amount of derivative instruments and nonderivative instruments designated as hedging instruments reported before netting adjustments, and the amount of gain (loss) on derivative instruments and nonderivative instruments designated and qualified as hedging instruments.",
        "label": "Derivative Instruments, Gain (Loss) [Table]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative Instruments, Gain (Loss) [Line Items]"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet": {
     "auth_ref": [
      "r653",
      "r658"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net",
        "terseLabel": "Amount of Loss Reclassified from OCI to Income as an Increase to Interest Expense",
        "totalLabel": "Derivative Instruments, Gain (Loss) Reclassified from Accumulated OCI into Income, Effective Portion, Net, Total"
       }
      }
     },
     "localname": "DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r654",
      "r656"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments.",
        "label": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net",
        "terseLabel": "Amounts relating to derivative instruments, not designated in hedging relationship",
        "totalLabel": "Derivative Instruments Not Designated as Hedging Instruments, Gain (Loss), Net, Total"
       }
      }
     },
     "localname": "DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r58",
      "r61",
      "r64",
      "r705"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 0.0,
       "parentTag": "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset. Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
        "label": "Derivative Liability",
        "negatedTotalLabel": "Net amount presented in the Consolidated Statements of Financial Condition",
        "terseLabel": "Derivative liabilities",
        "totalLabel": "Net amount presented in the Consolidated Statements of Financial Condition"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAsset": {
     "auth_ref": [
      "r57",
      "r63",
      "r66",
      "r648"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DerivativeLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative Liability, Fair Value, Gross Asset",
        "terseLabel": "Less: Amounts offset in the Consolidated Statements of Financial Condition"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueGrossAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueNetAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Derivative Liability, Fair Value, Amount Not Offset Against Collateral [Abstract]",
        "terseLabel": "Gross amounts not offset in the Consolidated Statements of Financial Condition"
       }
      }
     },
     "localname": "DerivativeLiabilityFairValueNetAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangementDeduction": {
     "auth_ref": [
      "r59",
      "r62"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 1.0,
       "parentTag": "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative Liability, Not Subject to Master Netting Arrangement Deduction",
        "negatedLabel": "Offsetting derivative positions",
        "terseLabel": "Offsetting derivative positions"
       }
      }
     },
     "localname": "DerivativeLiabilityNotSubjectToMasterNettingArrangementDeduction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivative [Line Items]",
        "terseLabel": "Derivative [Line Items]"
       }
      }
     },
     "localname": "DerivativeLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNetLiabilityPositionAggregateFairValue": {
     "auth_ref": [
      "r661"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Derivative, Net Liability Position, Aggregate Fair Value",
        "terseLabel": "Fair value of derivatives net liability position"
       }
      }
     },
     "localname": "DerivativeNetLiabilityPositionAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r639",
      "r641"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal or face amount used to calculate payment on derivative.",
        "label": "Derivative, Notional Amount",
        "terseLabel": "Notional Amount",
        "verboseLabel": "Derivative notional amount"
       }
      }
     },
     "localname": "DerivativeNotionalAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r638",
      "r640",
      "r641",
      "r643",
      "r644",
      "r650",
      "r655",
      "r666",
      "r669",
      "r673",
      "r675"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule that describes and identifies a derivative or group of derivatives on a disaggregated basis, such as for individual instruments, or small groups of similar instruments. May include a combination of the type of instrument, risks being hedged, notional amount, hedge designation, related hedged item, inception date, maturity date, or other relevant item.",
        "label": "Derivative [Table]",
        "terseLabel": "Derivative [Table]"
       }
      }
     },
     "localname": "DerivativeTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesFairValueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Derivatives, Fair Value [Line Items]",
        "terseLabel": "Derivatives Fair Value [Line Items]"
       }
      }
     },
     "localname": "DerivativesFairValueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativesPolicyTextBlock": {
     "auth_ref": [
      "r147",
      "r638",
      "r640",
      "r643",
      "r644",
      "r667"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for its derivative instruments and hedging activities.",
        "label": "Derivatives, Policy [Policy Text Block]",
        "terseLabel": "Derivative financial instruments and hedging activities"
       }
      }
     },
     "localname": "DerivativesPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "auth_ref": [
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Designated as Hedging Instrument [Member]",
        "terseLabel": "Designated as Hedging Instrument"
       }
      }
     },
     "localname": "DesignatedAsHedgingInstrumentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r567"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement [Text Block]",
        "terseLabel": "Share-Based Compensation"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Arrangement [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisclosureOfLongLivedAssetsHeldForSaleTextBlock": {
     "auth_ref": [
      "r404"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of long lived assets held for sale. Disclosure may include the description of the facts and circumstances leading to the expected disposal, manner and timing of disposal, the carrying value of the assets held for sale, the gain (loss) recognized in the income statement and the income statement caption that includes that gain (loss).",
        "label": "Disclosure of Long Lived Assets Held-for-sale [Table Text Block]",
        "terseLabel": "Change in Assets Held for Sale"
       }
      }
     },
     "localname": "DisclosureOfLongLivedAssetsHeldForSaleTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DisposalGroupClassificationAxis": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by disposal group classification.",
        "label": "Disposal Group Classification [Axis]",
        "terseLabel": "Disposal Group Classification"
       }
      }
     },
     "localname": "DisposalGroupClassificationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DisposalGroupClassificationDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Disposal Group Classification [Domain]",
        "terseLabel": "Disposal Group Classification"
       }
      }
     },
     "localname": "DisposalGroupClassificationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisposalGroupHeldforsaleNotDiscontinuedOperationsMember": {
     "auth_ref": [
      "r10",
      "r395",
      "r404"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disposal group that is classified as held-for-sale. Excludes disposals classified as discontinued operations.",
        "label": "Disposal Group, Held-for-sale, Not Discontinued Operations [Member]",
        "terseLabel": "Assets Held For Sale"
       }
      }
     },
     "localname": "DisposalGroupHeldforsaleNotDiscontinuedOperationsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "auth_ref": [
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the declared dividend will be paid, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date to be Paid",
        "terseLabel": "Dividend payable date"
       }
      }
     },
     "localname": "DividendPayableDateToBePaidDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information about distribution of earnings to shareholders including, but not limited to, cash, property or capital stock.",
        "label": "Dividends [Axis]",
        "terseLabel": "Dividends"
       }
      }
     },
     "localname": "DividendsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r488"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid common stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Common Stock, Cash",
        "negatedLabel": "Cash dividends declared on common stock",
        "terseLabel": "cash dividends declared and paid on common stock"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Distributions of earnings to shareholders including but not limited to cash, property or capital stock.",
        "label": "Dividends [Domain]",
        "terseLabel": "Dividends"
       }
      }
     },
     "localname": "DividendsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "auth_ref": [
      "r131"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share amount of a dividend declared, but not paid, as of the financial reporting date.",
        "label": "Dividends Payable, Amount Per Share",
        "terseLabel": "Cash dividend declared"
       }
      }
     },
     "localname": "DividendsPayableAmountPerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_DividendsPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r21",
      "r23",
      "r850",
      "r926"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying value as of the balance sheet date of dividends declared but unpaid on equity securities issued by the entity and outstanding.",
        "label": "Dividends Payable",
        "terseLabel": "Dividends payable"
       }
      }
     },
     "localname": "DividendsPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPayableDateOfRecordDayMonthAndYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the holder must own the stock to be entitled to the dividend, in YYYY-MM-DD format.",
        "label": "Dividends Payable, Date of Record",
        "terseLabel": "Dividends record date"
       }
      }
     },
     "localname": "DividendsPayableDateOfRecordDayMonthAndYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsPreferredStockCash": {
     "auth_ref": [
      "r488",
      "r901"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash.",
        "label": "Dividends, Preferred Stock, Cash",
        "negatedLabel": "Cash dividends declared on preferred stock"
       }
      }
     },
     "localname": "DividendsPreferredStockCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DomesticCountryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of the government that is entitled to levy and collect income taxes from the entity in its country of domicile.",
        "label": "Domestic Tax Authority [Member]",
        "terseLabel": "Federal"
       }
      }
     },
     "localname": "DomesticCountryMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DoubtfulMember": {
     "auth_ref": [
      "r255",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables that have all the weaknesses inherent in those classified as substandard, with the added characteristic that the weaknesses make collection or liquidation in full, on the basis of currently existing facts, conditions, and values, highly questionable and improbable.",
        "label": "Doubtful [Member]",
        "terseLabel": "Doubtful"
       }
      }
     },
     "localname": "DoubtfulMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings Per Share [Abstract]",
        "terseLabel": "EARNINGS PER COMMON SHARE"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r96",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r174",
      "r177",
      "r185",
      "r186",
      "r187",
      "r191",
      "r192",
      "r686",
      "r687",
      "r869",
      "r939"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
        "label": "Earnings Per Share, Basic",
        "terseLabel": "Basic",
        "totalLabel": "Earnings Per Share, Basic, Total",
        "verboseLabel": "Basic earnings per common share"
       }
      }
     },
     "localname": "EarningsPerShareBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareBasicLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Earnings Per Share, Basic, by Common Class, Including Two Class Method [Line Items]",
        "terseLabel": "Earnings Per Share Basic [Line Items]"
       }
      }
     },
     "localname": "EarningsPerShareBasicLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r96",
      "r163",
      "r164",
      "r165",
      "r166",
      "r167",
      "r177",
      "r185",
      "r186",
      "r187",
      "r191",
      "r192",
      "r686",
      "r687",
      "r869",
      "r939"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
        "label": "Earnings Per Share, Diluted",
        "terseLabel": "Diluted",
        "totalLabel": "Earnings Per Share, Diluted, Total",
        "verboseLabel": "Diluted earnings per common share"
       }
      }
     },
     "localname": "EarningsPerShareDiluted",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerSharePolicyTextBlock": {
     "auth_ref": [
      "r188",
      "r189"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for computing basic and diluted earnings or loss per share for each class of common stock and participating security. Addresses all significant policy factors, including any antidilutive items that have been excluded from the computation and takes into account stock dividends, splits and reverse splits that occur after the balance sheet date of the latest reporting period but before the issuance of the financial statements.",
        "label": "Earnings Per Share, Policy [Policy Text Block]",
        "terseLabel": "Earnings per share"
       }
      }
     },
     "localname": "EarningsPerSharePolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r188",
      "r189",
      "r190",
      "r193"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for earnings per share.",
        "label": "Earnings Per Share [Text Block]",
        "terseLabel": "Earnings per Share"
       }
      }
     },
     "localname": "EarningsPerShareTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r574"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Effective Income Tax Rate Reconciliation, Percent",
        "totalLabel": "Total income tax expense"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Effective Income Tax Rate Reconciliation, Percent [Abstract]",
        "terseLabel": "Reconciliation between statutory U.S. federal income tax rate and effective tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate": {
     "auth_ref": [
      "r141",
      "r574",
      "r603"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of domestic federal statutory tax rate applicable to pretax income (loss).",
        "label": "Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent",
        "terseLabel": "Calculated tax expense at statutory rate",
        "verboseLabel": "Corporate federal income tax rate"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpense": {
     "auth_ref": [
      "r574",
      "r603"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to nondeductible expenses.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent",
        "terseLabel": "Non-deductible expenses",
        "totalLabel": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Percent, Total"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost": {
     "auth_ref": [
      "r574",
      "r603"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying domestic federal statutory income tax rate to pretax income (loss) from continuing operation, attributable to nondeductible expense for share-based payment arrangement.",
        "label": "Effective Income Tax Rate Reconciliation, Nondeductible Expense, Share-based Payment Arrangement, Percent",
        "terseLabel": "Share-based compensation"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes": {
     "auth_ref": [
      "r574",
      "r603"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations applicable to state and local income tax expense (benefit), net of federal tax expense (benefit).",
        "label": "Effective Income Tax Rate Reconciliation, State and Local Income Taxes, Percent",
        "terseLabel": "State taxes, net of federal income tax"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome": {
     "auth_ref": [
      "r574",
      "r603"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_EffectiveIncomeTaxRateContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the difference between reported income tax expense (benefit) and expected income tax expense (benefit) computed by applying the domestic federal statutory income tax rates to pretax income (loss) from continuing operations attributable to income (loss) exempt from income taxes.",
        "label": "Effective Income Tax Rate Reconciliation, Tax Exempt Income, Percent",
        "terseLabel": "Tax exempt income"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateReconciliationTaxExemptIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesReconciliationBetweenStatutoryAndEffectiveTaxRateDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]",
        "terseLabel": "Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Line Items]"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r552"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cost not yet recognized for nonvested award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount",
        "terseLabel": "Unrecognized compensation expense",
        "totalLabel": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Amount, Total"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r552"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Payment Arrangement, Nonvested Award, Cost Not yet Recognized, Period for Recognition",
        "terseLabel": "Weighted-average amortization period remaining"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "auth_ref": [
      "r551"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax benefit for recognition of expense of award under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Expense, Tax Benefit",
        "terseLabel": "Income tax benefit"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions": {
     "auth_ref": [
      "r554"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax benefit from exercise of option under share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Exercise of Option, Tax Benefit",
        "terseLabel": "Tax benefit from exercise of stock options"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An Employee Stock Purchase Plan is a tax-efficient means by which employees of a corporation can purchase the corporation's stock.",
        "label": "Employee Stock [Member]",
        "terseLabel": "Employee Stock Purchase Plan"
       }
      }
     },
     "localname": "EmployeeStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [
      "r549"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
        "label": "Share-based Payment Arrangement, Option [Member]",
        "terseLabel": "Stock Options"
       }
      }
     },
     "localname": "EmployeeStockOptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquipmentExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents equipment expense including depreciation, repairs, rentals, and service contract costs. This item also includes equipment purchases which do not qualify for capitalization in accordance with the entity's accounting policy. This item may also include furniture expenses.",
        "label": "Equipment Expense",
        "terseLabel": "Equipment expense"
       }
      }
     },
     "localname": "EquipmentExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [Abstract]"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_EquityComponentDomain": {
     "auth_ref": [
      "r2",
      "r85",
      "r86",
      "r87",
      "r151",
      "r152",
      "r153",
      "r158",
      "r168",
      "r170",
      "r197",
      "r340",
      "r480",
      "r488",
      "r559",
      "r560",
      "r561",
      "r593",
      "r594",
      "r685",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r729",
      "r952",
      "r953",
      "r954",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
        "label": "Equity Component [Domain]",
        "terseLabel": "Equity Component"
       }
      }
     },
     "localname": "EquityComponentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesFvNi": {
     "auth_ref": [
      "r703"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI), classified as current.",
        "label": "Equity Securities, FV-NI, Current",
        "terseLabel": "Equity securities, at fair value"
       }
      }
     },
     "localname": "EquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGainLoss": {
     "auth_ref": [
      "r333",
      "r941"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 5.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) from sale of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Equity Securities, FV-NI, Realized Gain (Loss)",
        "terseLabel": "Change in fair value of equity securities, net",
        "totalLabel": "Equity Securities, FV-NI, Realized Gain (Loss), Total"
       }
      }
     },
     "localname": "EquitySecuritiesFvNiRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r15",
      "r20",
      "r328",
      "r923",
      "r979",
      "r980",
      "r981"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ownership interest or right to acquire or dispose of ownership interest in corporations and other legal entities for which ownership interest is represented by shares of common or preferred stock, convertible securities, stock rights, or stock warrants.",
        "label": "Equity Securities [Member]",
        "terseLabel": "Equity Securities"
       }
      }
     },
     "localname": "EquitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r441",
      "r452",
      "r453",
      "r705"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measured as an estimate of fair value.",
        "label": "Estimate of Fair Value Measurement [Member]",
        "terseLabel": "Estimate of Fair Value Measurement"
       }
      }
     },
     "localname": "EstimateOfFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Abstract]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r689",
      "r690",
      "r691",
      "r700"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
        "label": "Fair Value, Recurring and Nonrecurring [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Line Items]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
        "label": "Fair Value Measurement Inputs and Valuation Techniques [Table]",
        "terseLabel": "Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis Valuation Techniques [Table]"
       }
      }
     },
     "localname": "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsLevel1ToLevel2TransfersAmount": {
     "auth_ref": [
      "r691"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of assets measured on a recurring basis out of Level 1 of the fair value hierarchy into Level 2.",
        "label": "Fair Value, Assets, Level 1 to Level 2 Transfers, Amount",
        "terseLabel": "Fair value, assets, level 1 to level 2 transfers, amount"
       }
      }
     },
     "localname": "FairValueAssetsLevel1ToLevel2TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsLevel2ToLevel1TransfersAmount": {
     "auth_ref": [
      "r691"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of assets measured on a recurring basis out of Level 2 of the fair value hierarchy into Level 1.",
        "label": "Fair Value, Assets, Level 2 to Level 1 Transfers, Amount",
        "terseLabel": "Fair value, assets, level 2 to level 1 transfers, amount"
       }
      }
     },
     "localname": "FairValueAssetsLevel2ToLevel1TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "auth_ref": [
      "r689",
      "r690",
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Fair Value Measurements, Nonrecurring [Table Text Block]",
        "terseLabel": "Summary of Assets Measured at Fair Value on Non-Recurring Basis, Excluding Acquired Impaired Loans"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnNonrecurringBasisTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r695"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Class of asset.",
        "label": "Asset Class [Domain]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r695",
      "r700"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the fair value measurement of assets using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset.",
        "label": "Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of Financial Assets Measured at Fair Value on Recurring Basis Using Significant Unobservable Inputs"
       }
      }
     },
     "localname": "FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]",
        "terseLabel": "Fair Value Balance Sheet Grouping Financial Statement Captions [Line Items]"
       }
      }
     },
     "localname": "FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r689",
      "r700"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of asset.",
        "label": "Asset Class [Axis]",
        "terseLabel": "Asset Class"
       }
      }
     },
     "localname": "FairValueByAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r689",
      "r706",
      "r707"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value, by Balance Sheet Grouping [Table]",
        "terseLabel": "Fair Value By Balance Sheet Grouping [Table]"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r689",
      "r706"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value, by Balance Sheet Grouping [Table Text Block]",
        "terseLabel": "Summary of Estimated Fair Values of Financial Instruments"
       }
      }
     },
     "localname": "FairValueByBalanceSheetGroupingTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r441",
      "r452",
      "r453",
      "r501",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r516",
      "r690",
      "r778",
      "r779",
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
        "label": "Fair Value Hierarchy and NAV [Axis]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueByFairValueHierarchyLevelAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r441",
      "r452",
      "r453",
      "r689",
      "r701"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement basis.",
        "label": "Measurement Basis [Axis]",
        "terseLabel": "Measurement Basis"
       }
      }
     },
     "localname": "FairValueByMeasurementBasisAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r689",
      "r690",
      "r693",
      "r694",
      "r702"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by measurement frequency.",
        "label": "Measurement Frequency [Axis]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueByMeasurementFrequencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [
      "r441",
      "r452",
      "r453"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
        "label": "Fair Value Measurement [Domain]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosureItemAmountsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueDisclosuresAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Fair Value Disclosures [Abstract]"
       }
      }
     },
     "localname": "FairValueDisclosuresAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosuresTextBlock": {
     "auth_ref": [
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities. Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
        "label": "Fair Value Disclosures [Text Block]",
        "terseLabel": "Fair Value Measurement"
       }
      }
     },
     "localname": "FairValueDisclosuresTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueEquityLevel1ToLevel2TransfersAmount": {
     "auth_ref": [
      "r691"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instruments classified in shareholders' equity measured on a recurring basis out of level 1 of the fair value hierarchy into level 2.",
        "label": "Fair Value, Equity, Level 1 to Level 2 Transfers, Amount",
        "terseLabel": "Fair value, equity, level 1 to level 2 transfers, amount"
       }
      }
     },
     "localname": "FairValueEquityLevel1ToLevel2TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueEquityLevel2ToLevel1TransfersAmount": {
     "auth_ref": [
      "r691"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of financial instruments classified in shareholders' equity measured on a recurring basis out of level 2 of the fair value hierarchy into level 1.",
        "label": "Fair Value, Equity, Level 2 to Level 1 Transfers, Amount",
        "terseLabel": "Fair value, equity, level 2 to level 1 transfers, amount"
       }
      }
     },
     "localname": "FairValueEquityLevel2ToLevel1TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r441",
      "r501",
      "r503",
      "r508",
      "r516",
      "r690",
      "r778"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
        "label": "Fair Value, Inputs, Level 1 [Member]",
        "terseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r441",
      "r452",
      "r453",
      "r501",
      "r503",
      "r508",
      "r516",
      "r690",
      "r779"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
        "label": "Fair Value, Inputs, Level 2 [Member]",
        "terseLabel": "Level 2"
       }
      }
     },
     "localname": "FairValueInputsLevel2Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r441",
      "r452",
      "r453",
      "r501",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r516",
      "r690",
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Inputs, Level 3 [Member]",
        "terseLabel": "Level 3"
       }
      }
     },
     "localname": "FairValueInputsLevel3Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueLiabilitiesLevel1ToLevel2TransfersAmount": {
     "auth_ref": [
      "r691"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of liabilities measured on a recurring basis out of Level 1 of the fair value hierarchy into Level 2.",
        "label": "Fair Value, Liabilities, Level 1 to Level 2 Transfers, Amount",
        "terseLabel": "Fair value, liabilities, level 1 to level 2 transfers, amount"
       }
      }
     },
     "localname": "FairValueLiabilitiesLevel1ToLevel2TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueLiabilitiesLevel2ToLevel1TransfersAmount": {
     "auth_ref": [
      "r691"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of transfers of liabilities measured on a recurring basis out of Level 2 of the fair value hierarchy into Level 1.",
        "label": "Fair Value, Liabilities, Level 2 to Level 1 Transfers, Amount",
        "terseLabel": "Fair value, liabilities, level 2 to level 1 transfers, amount"
       }
      }
     },
     "localname": "FairValueLiabilitiesLevel2ToLevel1TransfersAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementFrequencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement frequency.",
        "label": "Measurement Frequency [Domain]",
        "terseLabel": "Measurement Frequency"
       }
      }
     },
     "localname": "FairValueMeasurementFrequencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for fair value measurements of financial and non-financial assets, liabilities and instruments classified in shareholders' equity. Disclosures include, but are not limited to, how an entity that manages a group of financial assets and liabilities on the basis of its net exposure measures the fair value of those assets and liabilities.",
        "label": "Fair Value Measurement, Policy [Policy Text Block]",
        "terseLabel": "Fair value of assets and liabilities"
       }
      }
     },
     "localname": "FairValueMeasurementPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "auth_ref": [
      "r696"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) recognized in income from asset measured at fair value on recurring basis using unobservable input (level 3).",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Gain (Loss) Included in Earnings",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r697"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of purchases of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases",
        "terseLabel": "Additions, net"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r695"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of financial instrument classified as an asset measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
        "label": "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value",
        "periodEndLabel": "Balance, end of period",
        "periodStartLabel": "Balance, beginning of period"
       }
      }
     },
     "localname": "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r441",
      "r452",
      "r453",
      "r501",
      "r503",
      "r504",
      "r505",
      "r506",
      "r507",
      "r508",
      "r516",
      "r778",
      "r779",
      "r780"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
        "label": "Fair Value Hierarchy and NAV [Domain]",
        "terseLabel": "Fair Value Hierarchy and NAV"
       }
      }
     },
     "localname": "FairValueMeasurementsFairValueHierarchyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r698",
      "r702"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Frequent fair value measurement. Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
        "label": "Fair Value, Recurring [Member]",
        "terseLabel": "Fair Value, Measurements, Recurring"
       }
      }
     },
     "localname": "FairValueMeasurementsRecurringMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock": {
     "auth_ref": [
      "r695",
      "r699"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Value, Net Derivative Asset (Liability) Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
        "terseLabel": "Summary of Unobservable Inputs Used in the Fair Value Measurements on Recurring Basis"
       }
      }
     },
     "localname": "FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r645",
      "r650",
      "r670"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Fair Values Derivatives, Balance Sheet Location, by Derivative Contract Type [Table]",
        "terseLabel": "Fair Values Derivatives Balance Sheet Location By Derivative Contract Type By Hedging Designation [Table]"
       }
      }
     },
     "localname": "FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvances": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Federal Home Loan Bank (FHLBank) advances to member financial institutions.",
        "label": "Federal Home Loan Bank Advances",
        "terseLabel": "Federal Home Loan Bank Variable Rate Advances",
        "totalLabel": "Federal Home Loan Bank Advances, Total"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvances",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate of advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Interest Rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMaturityPeriodVariableRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity period on variable rate advances made and reported by Federal Home Loan Bank (FHLBank), in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Federal Home Loan Bank, Advances, Maturity Period, Variable Rate",
        "terseLabel": "Total variable rate advances"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMaturityPeriodVariableRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMember": {
     "auth_ref": [
      "r857"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Federal Home Loan Bank Advances [Member]",
        "terseLabel": "Federal Home Loan Bank Advances",
        "verboseLabel": "Federal Home Loan Bank Line"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesWeightedAverageInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average interest rate on advances made and reported by Federal Home Loan Bank (FHLBank).",
        "label": "Federal Home Loan Bank, Advances, Weighted Average Interest Rate",
        "terseLabel": "Federal home loan bank advances weighted average cost"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesWeightedAverageInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FinanceLeasesPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to finance leases.",
        "label": "Finance Leases Portfolio Segment [Member]",
        "terseLabel": "Lease Financing Receivables"
       }
      }
     },
     "localname": "FinanceLeasesPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy": {
     "auth_ref": [
      "r239",
      "r254",
      "r263",
      "r271"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for financing receivables classified as held-for-sale.",
        "label": "Financing Receivable, Held-for-sale [Policy Text Block]",
        "terseLabel": "Loans held for sale"
       }
      }
     },
     "localname": "FinanceLoanAndLeaseReceivablesHeldForSalePolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinanceLoansAndLeasesReceivablePolicy": {
     "auth_ref": [
      "r239",
      "r249",
      "r254",
      "r263",
      "r267",
      "r272",
      "r273",
      "r275"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for financing receivable.",
        "label": "Financing Receivable [Policy Text Block]",
        "terseLabel": "Direct finance leases"
       }
      }
     },
     "localname": "FinanceLoansAndLeasesReceivablePolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancialAssetAcquiredWithCreditDeteriorationMember": {
     "auth_ref": [
      "r285"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset acquired with deteriorated credit quality.",
        "label": "Financial Asset Acquired with Credit Deterioration [Member]",
        "terseLabel": "Loans Acquired with Deteriorated Credit Quality"
       }
      }
     },
     "localname": "FinancialAssetAcquiredWithCreditDeteriorationMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r348",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset not past due.",
        "label": "Financial Asset, Not Past Due [Member]"
       }
      }
     },
     "localname": "FinancialAssetNotPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "auth_ref": [
      "r266",
      "r348",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset past due.",
        "label": "Financial Asset, Past Due [Member]"
       }
      }
     },
     "localname": "FinancialAssetPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r309",
      "r313",
      "r330",
      "r331",
      "r332",
      "r346",
      "r347",
      "r348",
      "r350",
      "r353",
      "r368",
      "r370",
      "r371",
      "r372",
      "r449",
      "r478",
      "r675",
      "r775",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780",
      "r782",
      "r783",
      "r784",
      "r790",
      "r791",
      "r792",
      "r793",
      "r798",
      "r801",
      "r811",
      "r812",
      "r813",
      "r814",
      "r818",
      "r819",
      "r820",
      "r821",
      "r822",
      "r823",
      "r824",
      "r825",
      "r827",
      "r828",
      "r829",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of financial instrument.",
        "label": "Financial Instrument [Axis]",
        "terseLabel": "Financial Instrument"
       }
      }
     },
     "localname": "FinancialInstrumentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Financial assets"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]",
        "terseLabel": "Financial liabilities"
       }
      }
     },
     "localname": "FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Allowance for Credit Loss [Line Items]",
        "terseLabel": "Financing Receivable Allowance For Credit Losses [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableAllowanceForCreditLossesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r245"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were collectively evaluated for impairment.",
        "label": "Financing Receivable, Collectively Evaluated for Impairment",
        "terseLabel": "Collectively evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableCollectivelyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r255",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Financing Receivable Credit Quality Indicators [Table Text Block]",
        "terseLabel": "Summary of Risk Rating Categories of Loans and Leases Considered for Inclusion in Allowance for Loan and Lease Losses Calculation"
       }
      }
     },
     "localname": "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FinancingReceivableImpairedLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Impaired [Line Items]",
        "terseLabel": "Financing Receivable Impaired [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableImpairedLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r245"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The balance of financing receivables that were individually evaluated for impairment.",
        "label": "Financing Receivable, Individually Evaluated for Impairment",
        "terseLabel": "Individually evaluated for impairment"
       }
      }
     },
     "localname": "FinancingReceivableIndividuallyEvaluatedForImpairment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Troubled Debt Restructuring [Line Items]",
        "terseLabel": "Financing Receivable Modifications [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableModificationsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableModificationsNumberOfContracts2": {
     "auth_ref": [
      "r257"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of financing receivables that have been modified by troubled debt restructurings.",
        "label": "Financing Receivable, Modifications, Number of Contracts",
        "verboseLabel": "Number of Loans"
       }
      }
     },
     "localname": "FinancingReceivableModificationsNumberOfContracts2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2": {
     "auth_ref": [
      "r257"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after troubled debt restructuring, of modified financing receivable.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Postmodification",
        "terseLabel": "Post-Modification Outstanding Recorded Investment"
       }
      }
     },
     "localname": "FinancingReceivableModificationsPostModificationRecordedInvestment2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2": {
     "auth_ref": [
      "r257"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before troubled debt restructuring, of financing receivable to be modified.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Premodification",
        "verboseLabel": "Pre-Modification Outstanding Recorded Investment"
       }
      }
     },
     "localname": "FinancingReceivableModificationsPreModificationRecordedInvestment2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsRecordedInvestment": {
     "auth_ref": [
      "r257",
      "r286"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring.",
        "label": "Financing Receivable, Troubled Debt Restructuring",
        "totalLabel": "Total troubled debt restructurings"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "auth_ref": [
      "r258"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable modified as troubled debt restructuring within previous 12 months, with subsequent payment default.",
        "label": "Financing Receivable, Troubled Debt Restructuring, Subsequent Default",
        "terseLabel": "Recorded investment in troubled debt restructurings that subsequently defaulted within twelve months"
       }
      }
     },
     "localname": "FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r346",
      "r347",
      "r354",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1020",
      "r1021",
      "r1022",
      "r1023",
      "r1024",
      "r1025",
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Axis]",
        "terseLabel": "Financing Receivable Portfolio Segment"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1020",
      "r1021",
      "r1022",
      "r1023",
      "r1024",
      "r1025",
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Level at which an entity develops and documents a systematic methodology to determine its allowance for credit losses.",
        "label": "Financing Receivable Portfolio Segment [Domain]",
        "terseLabel": "Financing Receivable Portfolio Segment"
       }
      }
     },
     "localname": "FinancingReceivablePortfolioSegmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r256",
      "r265",
      "r266",
      "r348",
      "r350",
      "r353",
      "r355",
      "r356",
      "r360",
      "r361",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1020",
      "r1021",
      "r1022",
      "r1023",
      "r1024",
      "r1025",
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by class of financing receivable determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Axis]",
        "terseLabel": "Class of Financing Receivable"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018",
      "r1020",
      "r1021",
      "r1022",
      "r1023",
      "r1024",
      "r1025",
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing receivables determined on the basis of initial measurement attribute, risk characteristics and method of monitoring and assessing credit risk.",
        "label": "Class of Financing Receivable [Domain]",
        "terseLabel": "Class of Financing Receivable"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Credit Quality Indicator [Line Items]",
        "terseLabel": "Financing Receivable Recorded Investment [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r264",
      "r349",
      "r1023",
      "r1024"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financing Receivable, Past Due [Line Items]",
        "terseLabel": "FinancingReceivableRecordedInvestment due"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 29 days past due but fewer than 60 days past due.",
        "label": "Financial Asset, 30 to 59 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables30To59DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset more than 59 days past due but fewer than 90 days past due.",
        "label": "Financial Asset, 60 to 89 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivables60To89DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financial asset equal to or greater than 90 days past due.",
        "label": "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]"
       }
      }
     },
     "localname": "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown": {
     "auth_ref": [
      "r286"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the amount of the write-down related to a troubled debt restructuring.",
        "label": "Financing Receivables, Impaired, Troubled Debt Restructuring, Write-down",
        "verboseLabel": "Charge-offs"
       }
      }
     },
     "localname": "FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r266",
      "r348",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]",
        "terseLabel": "Financial Asset, Period Past Due"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r266",
      "r348",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Financial Asset, Aging [Domain]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
        "label": "Finite-Lived Intangible Asset, Useful Life",
        "terseLabel": "Intangibles amortization period (in years)"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r389"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accumulated amount of amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Accumulated Amortization",
        "terseLabel": "Accumulated amortization or accretion"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r391"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year One",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r391"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Five",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r391"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r391"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r391"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_FiniteLivedIntangibleAssetsNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r383",
      "r385",
      "r389",
      "r392",
      "r833",
      "r840"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by major type or class of finite-lived intangible assets.",
        "label": "Finite-Lived Intangible Assets by Major Class [Axis]",
        "terseLabel": "Finite-Lived Intangible Assets by Major Class"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsByMajorClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Finite-Lived Intangible Assets [Line Items]",
        "terseLabel": "Finite Lived Intangible Assets [Line Items]"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r383",
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Finite-Lived Intangible Assets, Major Class Name [Domain]",
        "terseLabel": "Finite-Lived Intangible Assets, Major Class Name"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsMajorClassNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r389",
      "r833"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 14.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after amortization of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Finite-Lived Intangible Assets, Net",
        "periodEndLabel": "Finite-Lived Intangible Assets, Net, Ending Balance",
        "periodStartLabel": "Finite-Lived Intangible Assets, Net, Beginning Balance",
        "terseLabel": "Other intangible assets, net",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndOtherIntangibleAssetsRecognizedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1": {
     "auth_ref": [
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Finite-Lived Intangible Assets, Remaining Amortization Period",
        "terseLabel": "Weighted average remaining amortization or accretion period"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_FinitelivedIntangibleAssetsAcquired1": {
     "auth_ref": [
      "r384"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition.",
        "label": "Finite-lived Intangible Assets Acquired",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "FinitelivedIntangibleAssetsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ForeclosedAssets": {
     "auth_ref": [
      "r237",
      "r238"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 12.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of 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.",
        "label": "Repossessed Assets",
        "terseLabel": "Other real estate owned, net",
        "totalLabel": "Repossessed Assets, Total"
       }
      }
     },
     "localname": "ForeclosedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FurnitureAndFixturesGross": {
     "auth_ref": [
      "r398"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation of equipment commonly used in offices and stores that have no permanent connection to the structure of a building or utilities. Examples include, but are not limited to, desks, chairs, tables, and bookcases.",
        "label": "Furniture and Fixtures, Gross",
        "terseLabel": "Furniture, fixtures and equipment"
       }
      }
     },
     "localname": "FurnitureAndFixturesGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfProperties": {
     "auth_ref": [
      "r124",
      "r397",
      "r401"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The difference between the carrying value and the sale price of real estate or properties that were intended to be sold or held for capital appreciation or rental income. This element refers to the gain (loss) included in earnings and not to the cash proceeds of the sale. This element is a noncash adjustment to net income when calculating net cash generated by operating activities using the indirect method.",
        "label": "Gain (Loss) on Sale of Properties",
        "terseLabel": "Net gains on sales"
       }
      }
     },
     "localname": "GainLossOnSaleOfProperties",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleChangeInAssetsHeldForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "auth_ref": [
      "r124"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) on sale or disposal of property, plant and equipment assets, including oil and gas property and timber property.",
        "label": "Gain (Loss) on Disposition of Property Plant Equipment",
        "negatedLabel": "Net losses (gains) on sales and valuation adjustments of premises and equipment",
        "totalLabel": "Gain (Loss) on Disposition of Property Plant Equipment, Total"
       }
      }
     },
     "localname": "GainLossOnSaleOfPropertyPlantEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSalesOfAssetsAndAssetImpairmentCharges": {
     "auth_ref": [
      "r124"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of gain (loss) from the difference between the sale price or salvage price and the book value of an asset that was sold or retired, and gain (loss) from the write down of assets from their carrying value to fair value.",
        "label": "Gain (Loss) on Sale of Assets and Asset Impairment Charges",
        "terseLabel": "Impairment loses"
       }
      }
     },
     "localname": "GainLossOnSalesOfAssetsAndAssetImpairmentCharges",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "auth_ref": [
      "r124",
      "r875",
      "r944"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Gain (Loss) on Sales of Loans, Net",
        "negatedLabel": "Net gains on sales of loans",
        "terseLabel": "Net gains on sales of loans",
        "totalLabel": "Gain (Loss) on Sales of Loans, Net, Total"
       }
      }
     },
     "localname": "GainLossOnSalesOfLoansNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "auth_ref": [
      "r878"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Gains (Losses) on Sales of Other Real Estate",
        "terseLabel": "Gains on sales of OREO"
       }
      }
     },
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r374",
      "r376",
      "r771",
      "r845"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 13.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Goodwill",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Goodwill",
        "totalLabel": "Goodwill, Total"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAcquiredDuringPeriod": {
     "auth_ref": [
      "r377"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Goodwill, Acquired During Period",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "GoodwillAcquiredDuringPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Goodwill and Intangible Assets Disclosure [Abstract]"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r394"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for goodwill and intangible assets.",
        "label": "Goodwill and Intangible Assets Disclosure [Text Block]",
        "terseLabel": "Goodwill, Core Deposit Intangible and Other Intangible Assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsGoodwillPolicy": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for goodwill. This accounting policy also may address how an entity assesses and measures impairment of goodwill, how reporting units are determined, how goodwill is allocated to such units, and how the fair values of the reporting units are determined.",
        "label": "Goodwill and Intangible Assets, Goodwill, Policy [Policy Text Block]",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsGoodwillPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillAndIntangibleAssetsIntangibleAssetsPolicy": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for intangible assets. This accounting policy may address both intangible assets subject to amortization and those that are not. The following also may be disclosed: (1) a description of intangible assets (2) the estimated useful lives of those assets (3) the amortization method used (4) how the entity assesses and measures impairment of such assets (5) how future cash flows are estimated (6) how the fair values of such asset are determined.",
        "label": "Goodwill and Intangible Assets, Intangible Assets, Policy [Policy Text Block]",
        "terseLabel": "Other intangible assets"
       }
      }
     },
     "localname": "GoodwillAndIntangibleAssetsIntangibleAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_GoodwillImpairmentLoss": {
     "auth_ref": [
      "r124",
      "r375",
      "r378",
      "r380"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Impairment Loss",
        "terseLabel": "Goodwill, impairment loss"
       }
      }
     },
     "localname": "GoodwillImpairmentLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesGoodwillDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GoodwillPeriodIncreaseDecrease": {
     "auth_ref": [
      "r379"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of an asset representing future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized.",
        "label": "Goodwill, Period Increase (Decrease)",
        "terseLabel": "Increase in goodwill",
        "totalLabel": "Goodwill, Period Increase (Decrease), Total"
       }
      }
     },
     "localname": "GoodwillPeriodIncreaseDecrease",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r643",
      "r660"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Axis]",
        "terseLabel": "Hedging Designation"
       }
      }
     },
     "localname": "HedgingDesignationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designation of purpose of derivative instrument.",
        "label": "Hedging Designation [Domain]",
        "terseLabel": "Hedging Designation"
       }
      }
     },
     "localname": "HedgingDesignationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nature or intent of a hedge.",
        "label": "Hedging Relationship [Domain]",
        "terseLabel": "Hedging Relationship"
       }
      }
     },
     "localname": "HedgingRelationshipDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecurities": {
     "auth_ref": [
      "r266",
      "r303",
      "r345",
      "r348"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 3.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, before Allowance for Credit Loss",
        "terseLabel": "Securities held-to-maturity, at amortized cost ($3,992 and $4,573 fair value at December 31, 2021 and 2020, respectively)",
        "totalLabel": "Held-to-maturity Securities, Amortized Cost"
       }
      }
     },
     "localname": "HeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "auth_ref": [
      "r305",
      "r311"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrecognized gain on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Accumulated Unrecognized Gain",
        "terseLabel": "Held-to-maturity Securities, Gross Unrealized Gains"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "auth_ref": [
      "r306",
      "r312"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Accumulated Unrecognized Loss",
        "negatedLabel": "Held-to-maturity Securities, Gross Unrealized Losses"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r308",
      "r315",
      "r891",
      "r894"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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 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).",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, after Year One Through Five",
        "terseLabel": "Held-to-maturity Securities, Due from one to five years, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount": {
     "auth_ref": [
      "r308",
      "r891"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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 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).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, after Year One through Five",
        "terseLabel": "Held-to-maturity Securities, Due from one to five years, Amortized Cost"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Debt Securities, Held-to-maturity, Maturity, Fair Value [Abstract]",
        "terseLabel": "Held-to-maturity Securities Debt Maturities, Fair Value [Abstract]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract": {
     "auth_ref": [],
     "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]"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r307",
      "r314",
      "r890",
      "r893"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_HeldToMaturitySecuritiesFairValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Held-to-Maturity, Fair Value, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Held-to-maturity Securities, Due in one year or less, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "auth_ref": [
      "r307",
      "r890"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Held-to-Maturity, Amortized Cost, after Allowance for Credit Loss, Maturity, Allocated and Single Maturity Date, Year One",
        "terseLabel": "Held-to-maturity Securities, Due in one year or less, Amortized Cost"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "auth_ref": [
      "r304",
      "r310",
      "r853"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_HeldToMaturitySecurities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity, Fair Value",
        "terseLabel": "Securities held-to-maturity, fair value",
        "totalLabel": "Held-to-maturity securities, Fair Value, Total",
        "verboseLabel": "Held-to-maturity Securities, Fair Value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesMember": {
     "auth_ref": [
      "r324"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in debt securities classified as held-to-maturity.",
        "label": "Held-to-maturity Securities [Member]",
        "terseLabel": "Held-to-maturity Securities"
       }
      }
     },
     "localname": "HeldtomaturitySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IPOMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First sale of stock by a private company to the public.",
        "label": "IPO [Member]",
        "terseLabel": "IPO"
       }
      }
     },
     "localname": "IPOMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment": {
     "auth_ref": [
      "r250",
      "r253"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Average amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Average Recorded Investment",
        "totalLabel": "Average Recorded Investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r251"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income recognized that the financing receivables (with related allowance for credit losses and without a related allowance for credit losses) were impaired.",
        "label": "Impaired Financing Receivable, Interest Income, Accrual Method",
        "totalLabel": "Interest Income Recognized"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRecordedInvestment": {
     "auth_ref": [
      "r246"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment of impaired financing receivables with related allowance for credit losses and without a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Recorded Investment",
        "totalLabel": "Recorded Investment"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRelatedAllowance": {
     "auth_ref": [
      "r247"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of allowance for credit losses related to recorded investment.",
        "label": "Impaired Financing Receivable, Related Allowance",
        "terseLabel": "Related Allowance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableRelatedAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance": {
     "auth_ref": [
      "r248"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of impaired financing receivables with related allowance for credit losses and without related allowance for credit losses.",
        "label": "Impaired Financing Receivable, Unpaid Principal Balance",
        "totalLabel": "Unpaid Principal Balance"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r250",
      "r253"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of average investment of impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Average Recorded Investment",
        "terseLabel": "Average Recorded Investment, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r251"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income, recognized on accrual basis, on financing receivables that are recognized as impaired, for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Interest Income, Accrual Method",
        "terseLabel": "Interest Income Recognized, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r246"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Recorded Investment",
        "terseLabel": "Recorded Investment, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r248"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of unpaid principal balance of impaired financing receivables for which there is no related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with No Related Allowance, Unpaid Principal Balance",
        "terseLabel": "Unpaid Principal Balance, With no related allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r250",
      "r253"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of average investment of impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Average Recorded Investment",
        "terseLabel": "Average Recorded Investment, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r251"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest income, recognized on accrual basis, on financing receivables, for which there is a related allowance for credit losses and are recognized as impaired.",
        "label": "Impaired Financing Receivable, with Related Allowance, Interest Income, Accrual Method",
        "terseLabel": "Interest Income Recognized, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r246"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableRecordedInvestment",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of investment in impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Recorded Investment",
        "terseLabel": "Recorded Investment, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r248"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Unpaid principal balance of impaired financing receivables for which there is a related allowance for credit losses.",
        "label": "Impaired Financing Receivable, with Related Allowance, Unpaid Principal Balance",
        "terseLabel": "Unpaid Principal Balance, With an allowance recorded"
       }
      }
     },
     "localname": "ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of impaired financing receivables.",
        "label": "Impaired Financing Receivables [Table Text Block]",
        "terseLabel": "Summary of Recorded Investment, Unpaid Principal Balance, Related Allowance, Average Recorded Investment, and Interest Income Recognized for Loans and Leases Considered Impaired"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ImpairmentOfIntangibleAssetsFinitelived": {
     "auth_ref": [
      "r124",
      "r393"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of a finite-lived intangible asset to fair value.",
        "label": "Impairment of Intangible Assets, Finite-lived",
        "terseLabel": "Impairment on intangible assets"
       }
      }
     },
     "localname": "ImpairmentOfIntangibleAssetsFinitelived",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOfInvestments": {
     "auth_ref": [
      "r290"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount by which the fair value of an investment is less than the amortized cost basis or carrying amount of that investment at the balance sheet date and the decline in fair value is deemed to be other than temporary, before considering whether or not such amount is recognized in earnings or other comprehensive income.",
        "label": "Other than Temporary Impairment Losses, Investments",
        "terseLabel": "Impairment Losses",
        "totalLabel": "Other than Temporary Impairment Losses, Investments, Total"
       }
      }
     },
     "localname": "ImpairmentOfInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "auth_ref": [
      "r124",
      "r396"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale.",
        "label": "Impairment of Long-Lived Assets to be Disposed of",
        "negatedLabel": "Impairment loss",
        "terseLabel": "Impairment loss on assets held for sale"
       }
      }
     },
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleChangeInAssetsHeldForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r92",
      "r215",
      "r223",
      "r226",
      "r229",
      "r231",
      "r841",
      "r865",
      "r887",
      "r942"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
        "totalLabel": "INCOME BEFORE PROVISION FOR INCOME TAXES"
       }
      }
     },
     "localname": "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement [Abstract]"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationAxis": {
     "auth_ref": [
      "r402",
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location in the income statement.",
        "label": "Income Statement Location [Axis]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r409"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the income statement.",
        "label": "Income Statement Location [Domain]",
        "terseLabel": "Income Statement Location"
       }
      }
     },
     "localname": "IncomeStatementLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r576"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]",
        "terseLabel": "Income Tax Authority"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Tax Disclosure [Abstract]"
       }
      }
     },
     "localname": "IncomeTaxDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxDisclosureTextBlock": {
     "auth_ref": [
      "r141",
      "r575",
      "r577",
      "r583",
      "r598",
      "r604",
      "r606",
      "r607",
      "r608"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for income taxes. Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
        "label": "Income Tax Disclosure [Text Block]",
        "terseLabel": "Income Taxes"
       }
      }
     },
     "localname": "IncomeTaxDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r142",
      "r169",
      "r170",
      "r214",
      "r573",
      "r599",
      "r605",
      "r943"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 1.0,
       "parentTag": "by_IncomeLossBeforeEquityInUndistributedIncomeLossOfSubsidiary",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
        "label": "Income Tax Expense (Benefit)",
        "terseLabel": "PROVISION FOR INCOME TAXES",
        "totalLabel": "Provision for income taxes",
        "verboseLabel": "Benefit for income taxes"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesProvisionForIncomeTaxesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxPolicyTextBlock": {
     "auth_ref": [
      "r84",
      "r569",
      "r570",
      "r577",
      "r578",
      "r582",
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for income taxes, which may include its accounting policies for recognizing and measuring deferred tax assets and liabilities and related valuation allowances, recognizing investment tax credits, operating loss carryforwards, tax credit carryforwards, and other carryforwards, methodologies for determining its effective income tax rate and the characterization of interest and penalties in the financial statements.",
        "label": "Income Tax, Policy [Policy Text Block]",
        "terseLabel": "Income taxes"
       }
      }
     },
     "localname": "IncomeTaxPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r130"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash payments during the period for taxes",
        "totalLabel": "Income Taxes Paid, Net, Total"
       }
      }
     },
     "localname": "IncomeTaxesPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r127",
      "r885"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net cash inflow or outflow for the increase (decrease) in the beginning and end of period deposits balances.",
        "label": "Increase (Decrease) in Deposits",
        "terseLabel": "Net increase in deposits",
        "totalLabel": "Increase (Decrease) in Deposits, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInEquitySecuritiesFvNi": {
     "auth_ref": [
      "r118",
      "r329"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) of investment in equity security measured at fair value with change in fair value recognized in net income (FV-NI).",
        "label": "Increase (Decrease) in Equity Securities, FV-NI",
        "terseLabel": "Change in fair value of equity securities, net",
        "verboseLabel": "Change in fair value of equity securities, net"
       }
      }
     },
     "localname": "IncreaseDecreaseInEquitySecuritiesFvNi",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInOperatingCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase (Decrease) in Operating Capital [Abstract]",
        "terseLabel": "Changes in assets and liabilities:"
       }
      }
     },
     "localname": "IncreaseDecreaseInOperatingCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet": {
     "auth_ref": [
      "r123"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of increase (decrease) in operating assets after deduction of operating liabilities classified as other.",
        "label": "Increase (Decrease) in Other Operating Assets and Liabilities, Net",
        "negatedLabel": "Changes in other assets and other liabilities",
        "totalLabel": "Increase (Decrease) in Other Operating Assets and Liabilities, Net, Total"
       }
      }
     },
     "localname": "IncreaseDecreaseInOtherOperatingCapitalNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r178",
      "r179",
      "r180",
      "r187"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Incremental Common Shares Attributable to Dilutive Effect of Share-based Payment Arrangements",
        "terseLabel": "Incremental shares",
        "totalLabel": "Incremental Common Shares Attributable to Share-based Payment Arrangements, Total"
       }
      }
     },
     "localname": "IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_InformationByCategoryOfDebtSecurityAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by category of debt security, either available-for-sale or held-to-maturity.",
        "label": "Debt Security Category [Axis]",
        "terseLabel": "Debt Security Category"
       }
      }
     },
     "localname": "InformationByCategoryOfDebtSecurityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "auth_ref": [
      "r102"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 6.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expenses incurred in the period for information technology and data processing products and services.",
        "label": "Information Technology and Data Processing",
        "terseLabel": "Data processing"
       }
      }
     },
     "localname": "InformationTechnologyAndDataProcessing",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r381",
      "r387"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Intangible Assets, Net (Excluding Goodwill)",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "totalLabel": "Intangible Assets, Net (Excluding Goodwill), Total"
       }
      }
     },
     "localname": "IntangibleAssetsNetExcludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillAndCoreDepositIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r871"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest and Dividend Income, Operating",
        "terseLabel": "Interest and dividend income",
        "totalLabel": "Total interest and dividend income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperatingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest and Dividend Income, Operating [Abstract]",
        "terseLabel": "INTEREST AND DIVIDEND INCOME"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperatingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r870"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest and Fee Income, Loans and Leases",
        "terseLabel": "Interest and fees on loans and leases",
        "totalLabel": "Interest and Fee Income, Loans and Leases, Total"
       }
      }
     },
     "localname": "InterestAndFeeIncomeLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r855"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest-bearing Deposit Liabilities, Domestic",
        "terseLabel": "Interest-bearing deposits",
        "totalLabel": "Interest-bearing Deposit Liabilities, Domestic, Total"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomesticByComponentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest-bearing Deposit Liabilities, Domestic, by Component [Abstract]",
        "terseLabel": "Interest-bearing deposits:"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilitiesDomesticByComponentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r843",
      "r862"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 1.0,
       "parentTag": "us-gaap_CashAndCashEquivalentsAtCarryingValue",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest-bearing Deposits in Banks and Other Financial Institutions",
        "terseLabel": "Interest bearing deposits with other banks"
       }
      }
     },
     "localname": "InterestBearingDepositsInBanks",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositBrokered": {
     "auth_ref": [
      "r855"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest-bearing domestic third-party deposits placed by or through the assistance of a deposit broker, also known as brokered deposit liabilities.",
        "label": "Interest-bearing Domestic Deposit, Brokered",
        "terseLabel": "Brokered deposits"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositBrokered",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositChecking": {
     "auth_ref": [
      "r855"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest-bearing domestic checking deposit liabilities.",
        "label": "Interest-bearing Domestic Deposit, Checking",
        "terseLabel": "Interest-bearing checking accounts"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositChecking",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositTimeDeposits": {
     "auth_ref": [
      "r855"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 2.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest-bearing Domestic Deposit, Time Deposits",
        "terseLabel": "Time deposits",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositTimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r90",
      "r213",
      "r731",
      "r734",
      "r884"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 0.0,
       "parentTag": "by_InterestAndNonInterestExpense",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseNet",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of the cost of borrowed funds accounted for as interest expense.",
        "label": "Interest Expense",
        "terseLabel": "Interest expense",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Interest Expense [Abstract]",
        "terseLabel": "INTEREST EXPENSE"
       }
      }
     },
     "localname": "InterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseDeposits": {
     "auth_ref": [
      "r882"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate amount of interest expense on all deposits.",
        "label": "Interest Expense, Deposits",
        "terseLabel": "Deposits",
        "totalLabel": "Interest Expense, Deposits, Total"
       }
      }
     },
     "localname": "InterestExpenseDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseMember": {
     "auth_ref": [
      "r658"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Primary financial statement caption encompassing interest expense.",
        "label": "Interest Expense [Member]",
        "terseLabel": "Interest Expense"
       }
      }
     },
     "localname": "InterestExpenseMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestExpenseSubordinatedNotesAndDebentures": {
     "auth_ref": [
      "r883"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest Expense, Subordinated Notes and Debentures",
        "terseLabel": "Subordinated notes and debentures"
       }
      }
     },
     "localname": "InterestExpenseSubordinatedNotesAndDebentures",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r874"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest Income (Expense), after Provision for Loan Loss",
        "totalLabel": "Net interest income after provision for loan and lease losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r872"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The net amount of operating interest income (expense).",
        "label": "Interest Income (Expense), Net",
        "totalLabel": "Net interest income",
        "verboseLabel": "Net interest income before provision for loan losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxExempt": {
     "auth_ref": [
      "r880",
      "r1012",
      "r1013"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities exempt from state, federal and other income tax.",
        "label": "Interest Income, Securities, Operating, Tax Exempt",
        "terseLabel": "Interest on tax-exempt securities"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxExempt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "auth_ref": [
      "r880",
      "r1012",
      "r1013"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating interest income, including amortization and accretion of premiums and discounts, on securities subject to state, federal and other income tax.",
        "label": "Interest Income, Securities, Operating, Taxable",
        "terseLabel": "Interest on taxable securities"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r117",
      "r121",
      "r130"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity. Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
        "label": "Interest Paid, Excluding Capitalized Interest, Operating Activities",
        "terseLabel": "Cash paid during the period for interest"
       }
      }
     },
     "localname": "InterestPaidNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r859",
      "r934"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 6.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest payable on debt, including, but not limited to, trade payables.",
        "label": "Interest Payable",
        "terseLabel": "Accrued interest payable"
       }
      }
     },
     "localname": "InterestPayableCurrentAndNoncurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet": {
     "auth_ref": [
      "r674"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest Rate Cash Flow Hedge Gain (Loss) to be Reclassified During Next 12 Months, Net",
        "terseLabel": "Unrealized gain (loss) to be reclassified as an decrease to interest expense during the next twelve months"
       }
      }
     },
     "localname": "InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r657"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Interest Rate Swap [Member]",
        "terseLabel": "Interest Rate Swap"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r55"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 8.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of interest earned but not received. Also called accrued interest or accrued interest receivable.",
        "label": "Interest Receivable",
        "terseLabel": "Accrued interest receivable"
       }
      }
     },
     "localname": "InterestReceivable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r255",
      "r353",
      "r359",
      "r360",
      "r416",
      "r665"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by entity-defined rating.",
        "label": "Internal Credit Assessment [Axis]",
        "terseLabel": "Internal Credit Assessment"
       }
      }
     },
     "localname": "InternalCreditAssessmentAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InternalCreditAssessmentDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entity defined credit risk rating.",
        "label": "Internal Credit Assessment [Domain]",
        "terseLabel": "Internal Credit Assessment"
       }
      }
     },
     "localname": "InternalCreditAssessmentDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentPolicyTextBlock": {
     "auth_ref": [
      "r334",
      "r940"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment in financial asset.",
        "label": "Investment, Policy [Policy Text Block]",
        "terseLabel": "Securities"
       }
      }
     },
     "localname": "InvestmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972",
      "r973",
      "r974",
      "r976",
      "r977",
      "r978",
      "r979",
      "r980",
      "r981"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments.",
        "label": "Investment Type [Axis]",
        "terseLabel": "Investment Type"
       }
      }
     },
     "localname": "InvestmentTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r966",
      "r967",
      "r968",
      "r969",
      "r970",
      "r971",
      "r972",
      "r973",
      "r974",
      "r976",
      "r977",
      "r978",
      "r979",
      "r980",
      "r981"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Asset obtained to generate income or appreciate in value.",
        "label": "Investments [Domain]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "InvestmentTypeCategorizationMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturities of an entity's investments as well as any other information pertinent to the investments.",
        "label": "Investments Classified by Contractual Maturity Date [Table Text Block]",
        "terseLabel": "Schedule of Amortized Cost and Fair Value of Debt Securities by Contractual Maturity"
       }
      }
     },
     "localname": "InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments, Debt and Equity Securities [Abstract]"
       }
      }
     },
     "localname": "InvestmentsDebtAndEquitySecuritiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock": {
     "auth_ref": [
      "r328",
      "r842",
      "r899",
      "r982",
      "r1019"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for  investments in certain debt and equity securities.",
        "label": "Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]",
        "terseLabel": "Securities"
       }
      }
     },
     "localname": "InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecurities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_InvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Assets held for their financial return, rather than for the entity's operations.",
        "label": "Investments [Member]",
        "terseLabel": "Investment Securities"
       }
      }
     },
     "localname": "InvestmentsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust": {
     "auth_ref": [
      "r860",
      "r935"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 5.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Junior Subordinated Debenture Owed to Unconsolidated Subsidiary Trust",
        "terseLabel": "Junior subordinated debentures issued to capital trusts, net",
        "totalLabel": "Total liability, at carrying value",
        "verboseLabel": "Junior subordinated debenture carrying value"
       }
      }
     },
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_JuniorSubordinatedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Borrowing that has a lower priority than senior instruments in event of liquidation of the entity's assets.",
        "label": "Junior Subordinated Debt [Member]",
        "terseLabel": "Junior Subordinated Debentures"
       }
      }
     },
     "localname": "JuniorSubordinatedDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r100"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense for salary, wage, profit sharing; incentive and equity-based compensation; and other employee benefit.",
        "label": "Labor and Related Expense",
        "terseLabel": "Salaries and employee benefits"
       }
      }
     },
     "localname": "LaborAndRelatedExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LandMember": {
     "auth_ref": [
      "r494"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Part of earth's surface not covered by water.",
        "label": "Land [Member]",
        "terseLabel": "Land"
       }
      }
     },
     "localname": "LandMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeaseAndRentalExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Operating Leases, Rent Expense",
        "terseLabel": "Rental expenses",
        "totalLabel": "Operating Leases, Rent Expense, Total"
       }
      }
     },
     "localname": "LeaseAndRentalExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r755",
      "r757"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lease cost recognized by lessee for lease contract.",
        "label": "Lease, Cost",
        "terseLabel": "Total Lease Cost, Net",
        "totalLabel": "Lease, Cost, Total"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r755"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Lease, Cost [Table Text Block]",
        "terseLabel": "Summary of Lease Costs and Company's Operating Leases"
       }
      }
     },
     "localname": "LeaseCostTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LeaseholdImprovementsGross": {
     "auth_ref": [
      "r13",
      "r398"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentGross",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation of additions or improvements to assets held under a lease arrangement.",
        "label": "Leasehold Improvements, Gross",
        "terseLabel": "Leasehold improvements"
       }
      }
     },
     "localname": "LeaseholdImprovementsGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeasesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Leases [Abstract]"
       }
      }
     },
     "localname": "LeasesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r756"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Lessee, Operating Lease, Liability, Maturity [Table Text Block]",
        "terseLabel": "Schedule of Future Minimum Lease Payments for Operating Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r756"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease.",
        "label": "Lessee, Operating Lease, Liability, to be Paid",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive": {
     "auth_ref": [
      "r756"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease due after fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, after Year Five",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r756"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year One",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive": {
     "auth_ref": [
      "r756"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payment for operating lease to be paid 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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Five",
        "terseLabel": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFive",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r756"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r756"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r756"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r756"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails2": {
       "order": 0.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's undiscounted obligation for lease payments in excess of discounted obligation for lease payments for operating lease.",
        "label": "Lessee, Operating Lease, Liability, Undiscounted Excess Amount",
        "terseLabel": "Imputed interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r758"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Lessee, Operating Leases [Text Block]",
        "terseLabel": "Leases"
       }
      }
     },
     "localname": "LesseeOperatingLeasesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeases"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LetterOfCreditMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A document typically issued by a financial institution which acts as a guarantee of payment to a beneficiary, or as the source of payment for a specific transaction (for example, wiring funds to a foreign exporter if and when specified merchandise is accepted pursuant to the terms of the letter of credit).",
        "label": "Letter of Credit [Member]",
        "terseLabel": "Letters of Credit"
       }
      }
     },
     "localname": "LetterOfCreditMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LeverageRatiosAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Leverage Ratio [Abstract]",
        "terseLabel": "Tier 1 capital to average assets:"
       }
      }
     },
     "localname": "LeverageRatiosAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r43",
      "r139",
      "r225",
      "r335",
      "r421",
      "r422",
      "r423",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r632",
      "r636",
      "r637",
      "r708",
      "r769",
      "r770"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized. Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
        "label": "Liabilities",
        "totalLabel": "Total liabilities"
       }
      }
     },
     "localname": "Liabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [Abstract]",
        "terseLabel": "LIABILITIES"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r36",
      "r139",
      "r335",
      "r708",
      "r771",
      "r852",
      "r930"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
        "label": "Liabilities and Equity",
        "totalLabel": "Total liabilities and stockholders\u2019 equity"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities and Equity [Abstract]",
        "terseLabel": "LIABILITIES AND STOCKHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "LiabilitiesAndStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue": {
     "auth_ref": [
      "r336"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 22.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Life Insurance, Corporate or Bank Owned, Change in Value",
        "negatedLabel": "Increase in cash surrender value of bank owned life insurance"
       }
      }
     },
     "localname": "LifeInsuranceCorporateOrBankOwnedChangeInValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r22",
      "r851",
      "r922"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
        "label": "Long-term Line of Credit",
        "terseLabel": "Line of credit",
        "totalLabel": "Long-term Line of Credit, Total",
        "verboseLabel": "Line of credit facility, amount"
       }
      }
     },
     "localname": "LineOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Line of Credit Facility [Abstract]"
       }
      }
     },
     "localname": "LineOfCreditFacilityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "auth_ref": [
      "r42",
      "r138"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of lender, which may be a single entity (for example, but not limited to, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit.",
        "label": "Lender Name [Axis]",
        "terseLabel": "Lender Name"
       }
      }
     },
     "localname": "LineOfCreditFacilityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDescription": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of interest rate for borrowing under credit facility. Includes, but is not limited to, terms and method for determining interest rate.",
        "label": "Line of Credit Facility, Interest Rate Description",
        "terseLabel": "Line of credit facility, interest rate terms"
       }
      }
     },
     "localname": "LineOfCreditFacilityInterestRateDescription",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "auth_ref": [
      "r42",
      "r138"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identification of the lender, which may be a single entity (for example, a bank, pension fund, venture capital firm) or a group of entities that participate in the line of credit, including a letter of credit facility.",
        "label": "Line of Credit Facility, Lender [Domain]",
        "terseLabel": "Line of Credit Facility, Lender"
       }
      }
     },
     "localname": "LineOfCreditFacilityLenderDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LineOfCreditFacilityLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Line of Credit Facility [Line Items]",
        "terseLabel": "Line Of Credit Facility [Line Items]"
       }
      }
     },
     "localname": "LineOfCreditFacilityLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r42",
      "r138"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
        "label": "Line of Credit Facility [Table]",
        "terseLabel": "Line Of Credit Facility [Table]"
       }
      }
     },
     "localname": "LineOfCreditFacilityTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoanAndLeaseReceivablesImpairedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loan and Lease Receivables, Impaired [Abstract]",
        "terseLabel": "Ending balance:"
       }
      }
     },
     "localname": "LoanAndLeaseReceivablesImpairedAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowance": {
     "auth_ref": [
      "r240",
      "r244",
      "r269",
      "r284"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Loans and Leases Receivable, Allowance",
        "negatedLabel": "Allowance for loan and lease losses",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Allowance for loan and lease losses",
        "totalLabel": "Allowance for loan and lease losses"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowanceForLoanLossesPolicy": {
     "auth_ref": [
      "r267"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for estimating the allowance for losses on loans and lease receivables. The disclosure may include (a) how the entity determines each element of the allowance, (b) which loans are evaluated individually and which loans are evaluated as a group, (c) how the entity determines both the allocated and unallocated portions of the allowance, (d) how the entity determines the loss factors applied to graded loans in order to develop a general allowance, and (e) what self-correcting mechanism the entity uses to reduce differences between estimated and actual losses.",
        "label": "Loans and Leases Receivable, Allowance for Loan Losses Policy [Policy Text Block]",
        "terseLabel": "Allowance for loan and lease losses"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableAllowanceForLoanLossesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansAndLeasesReceivableBeforeFeesGross": {
     "auth_ref": [
      "r236"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance and fees, of loans and leases receivable. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, before Fees, Gross",
        "terseLabel": "Total loans and leases"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableBeforeFeesGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsFixedRates": {
     "auth_ref": [
      "r918",
      "r920"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails": {
       "order": 0.0,
       "parentTag": "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reflects the amount of cash required to fully fund agreements to provide advances to borrowers and lessees at stated interest rates.",
        "label": "Loans and Leases Receivable, Commitments, Fixed Rates",
        "terseLabel": "Fixed Rate"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableCommitmentsFixedRates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsVariableRates": {
     "auth_ref": [
      "r918",
      "r920"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails": {
       "order": 1.0,
       "parentTag": "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Loans and Leases Receivable, Commitments, Variable Rates",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableCommitmentsVariableRates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDeferredIncome": {
     "auth_ref": [
      "r261",
      "r274",
      "r745",
      "r864"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of deferred interest and fee income, unamortized costs incurred to originate loans and leases, unamortized loan commitments and loan syndication fees, and premiums over or discounts from face amounts of acquired loans. Excludes amounts for loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Deferred Income",
        "terseLabel": "Net unamortized deferred fees and costs",
        "totalLabel": "Loans and Leases Receivable, Deferred Income, Total"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDeferredIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Loans and Leases Receivable Disclosure [Line Items]",
        "terseLabel": "Loans And Leases Receivable Disclosure [Line Items]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureTable": {
     "auth_ref": [
      "r236"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about loans and leases receivable.",
        "label": "Loans and Leases Receivable Disclosure [Table]",
        "terseLabel": "Loans And Leases Receivable Disclosure [Table]"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableDisclosureTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount": {
     "auth_ref": [
      "r236"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 0.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before allowance of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Includes deferred interest and fees, undisbursed portion of loan balance, unamortized costs and premiums and discounts from face amounts. Excludes loans and leases covered under loss sharing agreements.",
        "label": "Loans and Leases Receivable, Gross",
        "terseLabel": "Loans and leases",
        "totalLabel": "Total loans and leases",
        "verboseLabel": "Total loans and leases"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableGrossCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r236",
      "r864"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 6.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after allowance and deduction of deferred interest and fees, unamortized costs and premiums and discounts from face amounts, of loans and leases held in portfolio, including but not limited to, commercial and consumer loans. Excludes loans and leases covered under loss sharing agreements and loans held for sale.",
        "label": "Loans and Leases Receivable, Net Amount",
        "terseLabel": "Loans and lease receivables, net (less impaired loans at fair value)",
        "totalLabel": "Net loans and leases"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmountAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans and Leases Receivable, Net Amount [Abstract]",
        "terseLabel": "Loans and leases:"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableNetReportedAmountAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableOtherInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Loans and Leases Receivable, Other Information [Abstract]",
        "terseLabel": "Loans and leases ending balance:"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableOtherInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableTroubledDebtRestructuringPolicy": {
     "auth_ref": [
      "r287"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for troubled debt restructuring.",
        "label": "Troubled Debt Restructuring [Policy Text Block]",
        "terseLabel": "Troubled debt restructuring"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableTroubledDebtRestructuringPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by US and non-US government sponsored enterprise, authority, agency and program guarantees for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Axis]",
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee by US and non-US government sponsored enterprises, authorities, agencies and programs for government insured loans.",
        "label": "Loans Insured or Guaranteed by Government Authorities [Domain]",
        "terseLabel": "Loans Insured or Guaranteed by Government Authorities"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByGovernmentAuthoritiesDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansInsuredOrGuaranteedByUsGovernmentAuthoritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Guarantee by US government authority for government insured loans.",
        "label": "Loans Insured or Guaranteed by US Government Authorities [Member]",
        "terseLabel": "U.S. Government Guaranteed Loans"
       }
      }
     },
     "localname": "LoansInsuredOrGuaranteedByUsGovernmentAuthoritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r270"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Loans, Notes, Trade and Other Receivables Disclosure [Text Block]",
        "terseLabel": "Loans and Lease Receivables"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansPledgedAsCollateral": {
     "auth_ref": [
      "r262",
      "r798"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount as of the balance sheet date of loans that have been pledged as collateral for borrowings. If the secured party has the right by contract or custom to sell or re-pledge the collateral, then the debtor reclassifies that asset and report that asset in its statement of financial position separately from other assets not so encumbered.",
        "label": "Loans Pledged as Collateral",
        "terseLabel": "Loans held for sale pledged as security for borrowings"
       }
      }
     },
     "localname": "LoansPledgedAsCollateral",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "auth_ref": [
      "r236",
      "r983"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 5.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance",
        "periodEndLabel": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance, Ending Balance",
        "periodStartLabel": "Financing Receivable, Held-for-Sale, Not Part of Disposal Group, after Valuation Allowance, Beginning Balance",
        "terseLabel": "Loans held for sale"
       }
      }
     },
     "localname": "LoansReceivableHeldForSaleNetNotPartOfDisposalGroup",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LondonInterbankOfferedRateLIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
        "label": "London Interbank Offered Rate (LIBOR) [Member]",
        "terseLabel": "LIBOR Rate"
       }
      }
     },
     "localname": "LondonInterbankOfferedRateLIBORMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r48"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-term debt.",
        "label": "Long-term Debt, Type [Axis]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r48",
      "r419"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing. These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
        "label": "Long-term Debt, Type [Domain]",
        "terseLabel": "Long-term Debt, Type"
       }
      }
     },
     "localname": "LongtermDebtTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MarketableSecuritiesPolicy": {
     "auth_ref": [
      "r898"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for investment classified as marketable security.",
        "label": "Marketable Securities, Policy [Policy Text Block]",
        "terseLabel": "Equity and other securities"
       }
      }
     },
     "localname": "MarketableSecuritiesPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_MarketingAndAdvertisingExpense": {
     "auth_ref": [
      "r101"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 10.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total expense recognized in the period for promotion, public relations, and brand or product advertising.",
        "label": "Marketing and Advertising Expense",
        "terseLabel": "Advertising and promotions",
        "totalLabel": "Marketing and Advertising Expense, Total"
       }
      }
     },
     "localname": "MarketingAndAdvertisingExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using interest rate to determine present value of future cash flows.",
        "label": "Measurement Input, Discount Rate [Member]",
        "terseLabel": "Discount Rate"
       }
      }
     },
     "localname": "MeasurementInputDiscountRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputExpectedTermMember": {
     "auth_ref": [
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using period financial instrument is expected to be outstanding. Excludes maturity date.",
        "label": "Measurement Input, Expected Term [Member]",
        "terseLabel": "Expected Weighted Average Loan life"
       }
      }
     },
     "localname": "MeasurementInputExpectedTermMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputPrepaymentRateMember": {
     "auth_ref": [
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input using principal prepayment at other than constant rate as proportion of outstanding loan principal.",
        "label": "Measurement Input, Prepayment Rate [Member]",
        "terseLabel": "Prepayment Speeds"
       }
      }
     },
     "localname": "MeasurementInputPrepaymentRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r692"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Axis]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_MeasurementInputTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Measurement input used to determine value of asset and liability.",
        "label": "Measurement Input Type [Domain]",
        "terseLabel": "Measurement Input Type"
       }
      }
     },
     "localname": "MeasurementInputTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "auth_ref": [
      "r260"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Recorded investment of consumer mortgage loan receivables secured by residential real estate properties for which formal foreclosure proceedings are in process.",
        "label": "Mortgage Loans in Process of Foreclosure, Amount",
        "terseLabel": "Residential consumer mortgage loans in process of foreclosure"
       }
      }
     },
     "localname": "MortgageLoansInProcessOfForeclosureAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MutualFundMember": {
     "auth_ref": [
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Mutual Fund [Member]",
        "terseLabel": "Mutual Funds"
       }
      }
     },
     "localname": "MutualFundMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r120"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from financing activities, including discontinued operations. Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
        "label": "Net Cash Provided by (Used in) Financing Activities",
        "totalLabel": "Net cash provided by financing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities [Abstract]",
        "terseLabel": "CASH FLOWS FROM FINANCING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Financing Activities, Continuing Operations [Abstract]",
        "terseLabel": "CASH FLOWS FROM FINANCING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInFinancingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r120"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Net Cash Provided by (Used in) Investing Activities",
        "totalLabel": "Net cash used in investing activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities [Abstract]",
        "terseLabel": "CASH FLOWS FROM INVESTING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Investing Activities, Continuing Operations [Abstract]",
        "terseLabel": "CASH FLOWS FROM INVESTING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInInvestingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r120",
      "r122",
      "r125"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow (outflow) from operating activities, including discontinued operations. Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
        "label": "Net Cash Provided by (Used in) Operating Activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities [Abstract]",
        "terseLabel": "CASH FLOWS FROM OPERATING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Cash Provided by (Used in) Operating Activities, Continuing Operations [Abstract]",
        "terseLabel": "CASH FLOWS FROM OPERATING ACTIVITIES"
       }
      }
     },
     "localname": "NetCashProvidedByUsedInOperatingActivitiesContinuingOperationsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r11",
      "r78",
      "r81",
      "r87",
      "r93",
      "r125",
      "r139",
      "r157",
      "r163",
      "r164",
      "r165",
      "r166",
      "r169",
      "r170",
      "r183",
      "r215",
      "r223",
      "r226",
      "r229",
      "r231",
      "r335",
      "r421",
      "r422",
      "r423",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r687",
      "r708",
      "r866",
      "r936"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
        "label": "Net Income (Loss) Attributable to Parent",
        "terseLabel": "Net income",
        "totalLabel": "NET INCOME"
       }
      }
     },
     "localname": "NetIncomeLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r163",
      "r164",
      "r165",
      "r166",
      "r174",
      "r175",
      "r184",
      "r187",
      "r215",
      "r223",
      "r226",
      "r229",
      "r231"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
        "label": "Net Income (Loss) Available to Common Stockholders, Basic",
        "terseLabel": "Net income available to common stockholders",
        "totalLabel": "INCOME AVAILABLE TO COMMON STOCKHOLDERS"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Standards Update and Change in Accounting Principle [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r5",
      "r155",
      "r156",
      "r159",
      "r160",
      "r171",
      "r172",
      "r173",
      "r278",
      "r279",
      "r341",
      "r342",
      "r496",
      "r497",
      "r498",
      "r499",
      "r562",
      "r595",
      "r596",
      "r597",
      "r683",
      "r717",
      "r718",
      "r719",
      "r760",
      "r837",
      "r838",
      "r839",
      "r956",
      "r957",
      "r958",
      "r959",
      "r961",
      "r1055"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Text Block]",
        "terseLabel": "Accounting Pronouncements Recently Issued"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyIssued"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "New Accounting Pronouncements or Change in Accounting Principle [Line Items]",
        "terseLabel": "New Accounting Pronouncements Line Items"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r154",
      "r157",
      "r158",
      "r159",
      "r161",
      "r162",
      "r165",
      "r171",
      "r191",
      "r276",
      "r277",
      "r337",
      "r338",
      "r339",
      "r340",
      "r343",
      "r344",
      "r420",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r563",
      "r591",
      "r592",
      "r593",
      "r594",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r684",
      "r685",
      "r686",
      "r687",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r720",
      "r721",
      "r759",
      "r834",
      "r835",
      "r836",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r1050",
      "r1051",
      "r1052",
      "r1053",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summarization of the changes in an accounting principle or a new accounting pronouncement, including the line items affected by the change and the financial effects of the change on those particular line items.",
        "label": "Accounting Standards Update and Change in Accounting Principle [Table]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting. Includes, but is not limited to, quantification of the expected or actual impact.",
        "label": "New Accounting Pronouncements, Policy [Policy Text Block]",
        "terseLabel": "Accounting Pronouncements Recently Adopted or Issued"
       }
      }
     },
     "localname": "NewAccountingPronouncementsPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1": {
     "auth_ref": [
      "r131",
      "r132",
      "r133"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The value of an asset or business acquired in a noncash (or part noncash) acquisition. Noncash is defined as information about all investing and financing activities of an enterprise during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Noncash or Part Noncash Acquisition, Value of Assets Acquired",
        "terseLabel": "Total assets acquired from acquisition",
        "totalLabel": "Noncash or Part Noncash Acquisition, Value of Assets Acquired, Total"
       }
      }
     },
     "localname": "NoncashOrPartNoncashAcquisitionValueOfAssetsAcquired1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1": {
     "auth_ref": [
      "r131",
      "r132",
      "r133"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of [all] liabilities that an Entity assumes in acquiring a business or in consideration for an asset received in a noncash (or part noncash) acquisition. Noncash is defined as transactions during a period that affect recognized assets or liabilities but that do not result in cash receipts or cash payments in the period. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
        "label": "Noncash or Part Noncash Acquisition, Value of Liabilities Assumed",
        "terseLabel": "Total liabilities assumed from acquisition",
        "totalLabel": "Noncash or Part Noncash Acquisition, Value of Liabilities Assumed, Total"
       }
      }
     },
     "localname": "NoncashOrPartNoncashAcquisitionValueOfLiabilitiesAssumed1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NondesignatedMember": {
     "auth_ref": [
      "r643"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Derivative instrument not designated as hedging instrument under Generally Accepted Accounting Principles (GAAP).",
        "label": "Not Designated as Hedging Instrument [Member]",
        "terseLabel": "Derivatives Not Designated As Hedging Instruments"
       }
      }
     },
     "localname": "NondesignatedMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r855"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of domestic noninterest-bearing deposits held by the entity, which may include demand deposits, checking, brokered and retail deposits.",
        "label": "Noninterest-bearing Deposit Liabilities, Domestic",
        "terseLabel": "Non-interest-bearing deposits",
        "totalLabel": "Noninterest-bearing Deposit Liabilities, Domestic, Total"
       }
      }
     },
     "localname": "NoninterestBearingDepositLiabilitiesDomestic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestBearingDomesticDepositDemand": {
     "auth_ref": [
      "r855"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 0.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Noninterest-bearing Domestic Deposit, Demand",
        "terseLabel": "Non-interest-bearing demand deposits"
       }
      }
     },
     "localname": "NoninterestBearingDomesticDepositDemand",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduleOfDepositsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 2.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total aggregate amount of all noninterest expense.",
        "label": "Noninterest Expense",
        "terseLabel": "Non-interest expense",
        "totalLabel": "Total non-interest expense"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Expense [Abstract]",
        "terseLabel": "NON-INTEREST EXPENSE"
       }
      }
     },
     "localname": "NoninterestExpenseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r876"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Noninterest Income",
        "terseLabel": "Non-interest income",
        "totalLabel": "Total non-interest income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Noninterest Income [Abstract]",
        "terseLabel": "NON-INTEREST INCOME"
       }
      }
     },
     "localname": "NoninterestIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOther": {
     "auth_ref": [
      "r876"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_Revenues",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 8.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Noninterest Income, Other",
        "terseLabel": "Other non-interest income",
        "totalLabel": "Noninterest Income, Other, Total",
        "verboseLabel": "Other noninterest income"
       }
      }
     },
     "localname": "NoninterestIncomeOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r266",
      "r345",
      "r348",
      "r352",
      "r360",
      "r361",
      "r1020",
      "r1022",
      "r1023"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of financing receivable.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "totalLabel": "Financing Receivable, before Allowance for Credit Loss, Total"
       }
      }
     },
     "localname": "NotesReceivableGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableNet": {
     "auth_ref": [
      "r30",
      "r236",
      "r352"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement.",
        "label": "Financing Receivable, after Allowance for Credit Loss",
        "terseLabel": "Loans acquired with deteriorated credit quality",
        "totalLabel": "Financing Receivable, after Allowance for Credit Loss, Total"
       }
      }
     },
     "localname": "NotesReceivableNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r210"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Number of Reportable Segments",
        "terseLabel": "Number of reportable segment"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesSegmentReportingDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_NumberOfStores": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents the number of stores.",
        "label": "Number of Stores",
        "terseLabel": "Number of branches closure"
       }
      }
     },
     "localname": "NumberOfStores",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OccupancyNet": {
     "auth_ref": [
      "r102",
      "r740",
      "r877"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of net occupancy expense that may include items, such as depreciation of facilities and equipment, lease expenses, property taxes and property and casualty insurance expense.",
        "label": "Occupancy, Net",
        "terseLabel": "Occupancy expense, net"
       }
      }
     },
     "localname": "OccupancyNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock": {
     "auth_ref": [
      "r267",
      "r351"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Description of accounting policies and methodologies used to estimate the entity's liability for off-balance sheet credit exposures and related charges for those credit exposures.",
        "label": "Off-Balance-Sheet Credit Exposure, Policy [Policy Text Block]",
        "terseLabel": "Off-balance sheet instruments"
       }
      }
     },
     "localname": "OffBalanceSheetCreditExposurePolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r749",
      "r757"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Operating Lease, Cost",
        "terseLabel": "Operating Lease, Cost"
       }
      }
     },
     "localname": "OperatingLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r748"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease.",
        "label": "Operating Lease, Liability",
        "terseLabel": "Present value of future minimum lease payments",
        "totalLabel": "Operating lease liabilities",
        "verboseLabel": "Net lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiabilityCurrent": {
     "auth_ref": [
      "r748"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 7.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Present value of lessee's discounted obligation for lease payments from operating lease, classified as current.",
        "label": "Operating Lease, Liability, Current",
        "terseLabel": "Operating lease liability"
       }
      }
     },
     "localname": "OperatingLeaseLiabilityCurrent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r747"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of lessee's right to use underlying asset under operating lease.",
        "label": "Operating Lease, Right-of-Use Asset",
        "terseLabel": "Operating lease right-of-use asset"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r754",
      "r757"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average discount rate for operating lease calculated at point in time.",
        "label": "Operating Lease, Weighted Average Discount Rate, Percent",
        "terseLabel": "Weighted-average discount rate of operating leases"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageDiscountRatePercent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r753",
      "r757"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Operating Lease, Weighted Average Remaining Lease Term",
        "terseLabel": "Weighted average remaining life of operating leases"
       }
      }
     },
     "localname": "OperatingLeaseWeightedAverageRemainingLeaseTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals": {
     "auth_ref": [
      "r738"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Contractually required future rental payments receivable on noncancelable subleasing arrangements.",
        "label": "Operating Leases, Future Minimum Payments Due, Future Minimum Sublease Rentals",
        "terseLabel": "Minimum rental to be received in future on subleases"
       }
      }
     },
     "localname": "OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r584"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of operating loss carryforward, before tax effects, available to reduce future taxable income under enacted tax laws.",
        "label": "Operating Loss Carryforwards",
        "terseLabel": "Net operating loss carryforwards",
        "totalLabel": "Operating Loss Carryforwards, Total"
       }
      }
     },
     "localname": "OperatingLossCarryforwards",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwardsLimitationsOnUse": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A description of the limitations on the use of all operating loss carryforwards available to reduce future taxable income.",
        "label": "Operating Loss Carryforwards, Limitations on Use",
        "terseLabel": "Operating loss carryforwards, limitations on use"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsLimitationsOnUse",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLossCarryforwardsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Operating Loss Carryforwards [Line Items]",
        "terseLabel": "Operating loss carryforwards"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Operating Loss Carryforwards [Table]",
        "terseLabel": "Operating Loss Carryforwards [Table]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherAssets": {
     "auth_ref": [
      "r18",
      "r846",
      "r924"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 18.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of assets classified as other.",
        "label": "Other Assets",
        "terseLabel": "Other assets",
        "totalLabel": "Other Assets, Total"
       }
      }
     },
     "localname": "OtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherBorrowings": {
     "auth_ref": [
      "r858"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount as of the balance sheet date for the aggregate of other miscellaneous borrowings owed by the reporting entity.",
        "label": "Other Borrowings",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "OtherBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "OCI, Debt Securities, Available-for-Sale, Gain (Loss), after Adjustment and Tax [Abstract]",
        "terseLabel": "Securities available-for-sale"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAvailableForSaleSecuritiesAdjustmentNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r629",
      "r630",
      "r634"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities, attributable to parent entity. Excludes amounts related to other than temporary impairment (OTTI) loss.",
        "label": "Other Comprehensive Income (Loss), Available-for-sale Securities Adjustment, Net of Tax, Portion Attributable to Parent",
        "totalLabel": "Net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent": {
     "auth_ref": [
      "r629",
      "r630",
      "r634"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of tax expense (benefit), after reclassification adjustments, of appreciation (loss) in value of unsold available-for-sale securities, attributable to parent entity. Excludes amounts related to other than temporary impairment (OTTI) loss.",
        "label": "Other Comprehensive Income (Loss), Available-for-sale Securities, Tax, Portion Attributable to Parent",
        "negatedLabel": "Tax effect",
        "totalLabel": "Other Comprehensive Income (Loss), Available-for-sale Securities, Tax, Portion Attributable to Parent, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax [Abstract]",
        "terseLabel": "Cash flow hedges"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeDerivativesQualifyingAsHedgesNetOfTaxPeriodIncreaseDecreaseAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent": {
     "auth_ref": [
      "r72"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification and Tax, Parent",
        "totalLabel": "Net of tax"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax": {
     "auth_ref": [
      "r73"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax",
        "negatedLabel": "Tax effect",
        "totalLabel": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), after Reclassification, Tax, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax": {
     "auth_ref": [
      "r67",
      "r72",
      "r647",
      "r652",
      "r671"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before tax and reclassification, of gain (loss) from derivative instrument designated and qualifying cash flow hedge included in assessment of hedge effectiveness.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), before Reclassification and Tax",
        "terseLabel": "Unrealized holding gains (losses) arising during the period",
        "verboseLabel": "Amount of Gain Recognized in OCI"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax": {
     "auth_ref": [
      "r72",
      "r76",
      "r653"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Other Comprehensive Income (Loss), Cash Flow Hedge, Gain (Loss), Reclassification, before Tax",
        "negatedLabel": "Reclassification adjustments for net (gains) losses included in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r79",
      "r82",
      "r85",
      "r86",
      "r88",
      "r94",
      "r480",
      "r723",
      "r728",
      "r729",
      "r867",
      "r937"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax and reclassification adjustments of other comprehensive income (loss).",
        "label": "Other Comprehensive Income (Loss), Net of Tax",
        "terseLabel": "Amount of net gains reclassified",
        "totalLabel": "Other Comprehensive Income (Loss), Net of Tax, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r79",
      "r82",
      "r629",
      "r630",
      "r634"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 1.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
        "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)"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax": {
     "auth_ref": [
      "r72",
      "r76",
      "r77",
      "r327"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before tax of reclassification adjustment from accumulated other comprehensive income for unrealized gain (loss) realized upon the sale of available-for-sale securities.",
        "label": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax",
        "negatedLabel": "Reclassification adjustments for net gains included in net income",
        "totalLabel": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, before Tax, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r68",
      "r72",
      "r327"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME": {
       "order": 0.0,
       "parentTag": "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment and Tax",
        "terseLabel": "Unrealized holding gains (losses) arising during the period"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherCreditDerivativesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Credit derivative contract classified as other.",
        "label": "Other Credit Derivatives [Member]",
        "terseLabel": "Other Credit Derivatives"
       }
      }
     },
     "localname": "OtherCreditDerivativesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNonInterestIncomeInConsolidatedStatementsOfOperationsRelatingToDerivativeInstrumentsNotDesignatedInHedgingRelationshipDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherDebtSecuritiesMember": {
     "auth_ref": [
      "r317",
      "r364",
      "r501",
      "r698"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investments in debt securities classified as other.",
        "label": "Other Debt Obligations [Member]",
        "terseLabel": "Other Securities"
       }
      }
     },
     "localname": "OtherDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r881"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestAndDividendIncomeOperating",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, after discount, accretion and premium amortization, of interest income and dividend income classified as other.",
        "label": "Other Interest and Dividend Income",
        "terseLabel": "Other interest and dividend income"
       }
      }
     },
     "localname": "OtherInterestAndDividendIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r45"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for other liabilities.",
        "label": "Other Liabilities Disclosure [Text Block]",
        "terseLabel": "Other Borrowings"
       }
      }
     },
     "localname": "OtherLiabilitiesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r879"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 1.0,
       "parentTag": "by_InterestAndNonInterestExpense",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 12.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noninterest expense classified as other.",
        "label": "Other Noninterest Expense",
        "terseLabel": "Other non-interest expense"
       }
      }
     },
     "localname": "OtherNoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstateAndForeclosedAssets": {
     "auth_ref": [
      "r854"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Other Real Estate, Foreclosed Assets, and Repossessed Assets",
        "periodEndLabel": "Other real estate owned, ending balance",
        "periodStartLabel": "Other real estate owned, beginning balance",
        "totalLabel": "Other Real Estate, Foreclosed Assets, and Repossessed Assets, Total",
        "verboseLabel": "Foreclosed real estate properties recorded as result of obtaining physical possession of property"
       }
      }
     },
     "localname": "OtherRealEstateAndForeclosedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstateValuationAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Other Real Estate, Valuation Adjustments",
        "terseLabel": "Valuation adjustments"
       }
      }
     },
     "localname": "OtherRealEstateValuationAdjustments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain": {
     "auth_ref": [
      "r323"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Categories of Investments [Domain]",
        "terseLabel": "Other than Temporary Impairment, Credit Losses Recognized in Earnings, Categories of Investments"
       }
      }
     },
     "localname": "OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PassMember": {
     "auth_ref": [
      "r255",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A category of financing receivables not considered to be special mention, substandard, doubtful, and loss receivables.",
        "label": "Pass [Member]",
        "terseLabel": "Pass"
       }
      }
     },
     "localname": "PassMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r265",
      "r266",
      "r348",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table Text Block]",
        "terseLabel": "Summary of Contractual Delinquency Information"
       }
      }
     },
     "localname": "PastDueFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow (inflow) from acquisition (sale) of Federal Home Loan Bank (FHLBank) stock.",
        "label": "Payments for (Proceeds from) Federal Home Loan Bank Stock",
        "negatedLabel": "Redemptions (purchases) of Federal Home Loan Bank stock, net",
        "totalLabel": "Payments for (Proceeds from) Federal Home Loan Bank Stock, Total"
       }
      }
     },
     "localname": "PaymentsForProceedsFromFederalHomeLoanBankStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "auth_ref": [
      "r886"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Payments for (Proceeds from) Loans and Leases",
        "negatedLabel": "Net change in loans and leases",
        "totalLabel": "Payments for (Proceeds from) Loans and Leases, Total"
       }
      }
     },
     "localname": "PaymentsForProceedsFromLoansAndLeases",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r113"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 11.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire common stock during the period.",
        "label": "Payments for Repurchase of Common Stock",
        "negatedLabel": "Repurchase of common stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r113"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to common shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Common Stock",
        "negatedLabel": "Dividends paid on common stock"
       }
      }
     },
     "localname": "PaymentsOfDividendsCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock": {
     "auth_ref": [
      "r113"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow in the form of ordinary dividends to preferred shareholders of the parent entity.",
        "label": "Payments of Ordinary Dividends, Preferred Stock and Preference Stock",
        "negatedLabel": "Dividends paid on preferred stock",
        "terseLabel": "Dividends declared and paid"
       }
      }
     },
     "localname": "PaymentsOfDividendsPreferredStockAndPreferenceStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfStockIssuanceCosts": {
     "auth_ref": [
      "r115"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for cost incurred directly with the issuance of an equity security.",
        "label": "Payments of Stock Issuance Costs",
        "terseLabel": "Stock issuance costs"
       }
      }
     },
     "localname": "PaymentsOfStockIssuanceCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r104",
      "r108",
      "r289"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Payments to Acquire Debt Securities, Available-for-sale",
        "negatedLabel": "Purchases of securities available-for-sale"
       }
      }
     },
     "localname": "PaymentsToAcquireAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesGross": {
     "auth_ref": [
      "r109",
      "r625"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_BusinessCombinationConsiderationTransferred1",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of business during the period. The cash portion only of the acquisition price.",
        "label": "Payments to Acquire Businesses, Gross",
        "terseLabel": "Consideration paid in cash",
        "verboseLabel": "Consideration paid in cash"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired": {
     "auth_ref": [
      "r109"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
        "label": "Payments to Acquire Businesses, Net of Cash Acquired",
        "negatedLabel": "Net cash paid in acquisition of business",
        "totalLabel": "Payments to Acquire Businesses, Net of Cash Acquired, Total"
       }
      }
     },
     "localname": "PaymentsToAcquireBusinessesNetOfCashAcquired",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Payments to Acquire Property, Plant, and Equipment",
        "negatedLabel": "Purchases of premises and equipment",
        "totalLabel": "Payments to Acquire Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "PaymentsToAcquirePropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PensionAndOtherPostretirementBenefitsDisclosureTextBlock": {
     "auth_ref": [
      "r500",
      "r502",
      "r508",
      "r509",
      "r511",
      "r512",
      "r513",
      "r514",
      "r515",
      "r516",
      "r517",
      "r518",
      "r519",
      "r525"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for retirement benefits.",
        "label": "Retirement Benefits [Text Block]",
        "terseLabel": "Employee Benefit Plans"
       }
      }
     },
     "localname": "PensionAndOtherPostretirementBenefitsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlans"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r529",
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by plan name for share-based payment arrangement.",
        "label": "Plan Name [Axis]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Plan name for share-based payment arrangement.",
        "label": "Plan Name [Domain]",
        "terseLabel": "Plan Name"
       }
      }
     },
     "localname": "PlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r704"
     ],
     "lang": {
      "en-us": {
       "role": {
        "axisDefault": "Portion at Fair Value Measurement [Member] [Default]",
        "documentation": "Measured at fair value for financial reporting purposes.",
        "label": "Portion at Fair Value Measurement [Member]",
        "terseLabel": "Fair Value Disclosure Item Amounts [Default]"
       }
      }
     },
     "localname": "PortionAtFairValueFairValueDisclosureMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [
      "r465"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage rate used to calculate dividend payments on preferred stock.",
        "label": "Preferred Stock, Dividend Rate, Percentage",
        "terseLabel": "Preferred stock, dividend rate, percentage"
       }
      }
     },
     "localname": "PreferredStockDividendRatePercentage",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockParentheticalDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of preferred stock dividends that is an adjustment to net income apportioned to common stockholders.",
        "label": "Preferred Stock Dividends, Income Statement Impact",
        "terseLabel": "Dividends on preferred shares"
       }
      }
     },
     "localname": "PreferredStockDividendsIncomeStatementImpact",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "auth_ref": [
      "r27",
      "r136",
      "r469",
      "r481",
      "r482"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share liquidation preference (or restrictions) of nonredeemable preferred stock (or preferred stock redeemable solely at the option of the issuer) that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares. The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share.",
        "label": "Preferred Stock, Liquidation Preference Per Share",
        "terseLabel": "Liquidation preference per share"
       }
      }
     },
     "localname": "PreferredStockLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Preferred shares may provide a preferential dividend to the dividend on common stock and may take precedence over common stock in the event of a liquidation. Preferred shares typically represent an ownership interest in the company.",
        "label": "Preferred Stock [Member]",
        "terseLabel": "Preferred Stock"
       }
      }
     },
     "localname": "PreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r27",
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount or stated value per share of preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, Par or Stated Value Per Share",
        "terseLabel": "Preferred stock, par value",
        "verboseLabel": "Par value per share"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockRedemptionDate": {
     "auth_ref": [
      "r463",
      "r481"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the preferred stock has been redeemed, in YYYY-MM-DD format.",
        "label": "Preferred Stock, Redemption Date"
       }
      }
     },
     "localname": "PreferredStockRedemptionDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_PreferredStockRedemptionPricePerShare": {
     "auth_ref": [
      "r463",
      "r481",
      "r483"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Preferred Stock, Redemption Price Per Share",
        "terseLabel": "Preferred stock redemption price per share"
       }
      }
     },
     "localname": "PreferredStockRedemptionPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockShareSubscriptions": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of nonredeemable preferred stock (shares) (or preferred stock redeemable solely at the option of the issuer) allocated to investors to buy shares of a new issue of preferred stock before they are offered to the public. When stock is sold on a subscription basis, the issuer does not initially receive the total proceeds. In general, the issuer does not issue the shares to the investor until it receives the entire proceeds.",
        "label": "Preferred Stock, Shares Subscribed but Unissued",
        "terseLabel": "Subscription receivable"
       }
      }
     },
     "localname": "PreferredStockShareSubscriptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws.",
        "label": "Preferred Stock, Shares Authorized",
        "terseLabel": "Preferred stock, shares authorized",
        "verboseLabel": "Shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r27",
      "r464"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Preferred Stock, Shares Issued",
        "terseLabel": "Preferred stock, shares issued",
        "totalLabel": "Preferred Stock, Shares Issued, Total",
        "verboseLabel": "Shares issued"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r27"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Preferred Stock, Shares Outstanding",
        "periodEndLabel": "Preferred Stock, Shares Outstanding, Ending Balance",
        "periodStartLabel": "Preferred Stock, Shares Outstanding, Beginning Balance",
        "terseLabel": "Preferred stock, shares outstanding",
        "verboseLabel": "Shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r27",
      "r771"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 0.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate par or stated value of issued nonredeemable 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.",
        "label": "Preferred Stock, Value, Issued",
        "periodEndLabel": "Preferred Stock, Value, Issued, Ending Balance",
        "periodStartLabel": "Preferred Stock, Value, Issued, Beginning Balance",
        "terseLabel": "Preferred stock, $0.01 par value per share, 50,000 shares authorized; 10,438 shares issued and outstanding at December 31, 2021 and December 31, 2020",
        "totalLabel": "Preferred Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrimeRateMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate charged by financial institutions to their most creditworthy borrowers.",
        "label": "Prime Rate [Member]",
        "terseLabel": "Prime Rate"
       }
      }
     },
     "localname": "PrimeRateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrincipalAmountOutstandingOfLoansHeldInPortfolio": {
     "auth_ref": [
      "r787"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Principal Amount Outstanding of Loans Held-in-portfolio",
        "terseLabel": "Unpaid principal balances of loans serviced",
        "totalLabel": "Principal Amount Outstanding of Loans Held-in-portfolio, Total"
       }
      }
     },
     "localname": "PrincipalAmountOutstandingOfLoansHeldInPortfolio",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PrincipalAmountOutstandingOfLoansHeldInPortfolioAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Principal Amount Outstanding of Loans Held-in-portfolio [Abstract]",
        "terseLabel": "Loan portfolios serviced for:"
       }
      }
     },
     "localname": "PrincipalAmountOutstandingOfLoansHeldInPortfolioAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromDividendsReceived": {
     "auth_ref": [
      "r116"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Dividends received on equity and other investments during the current period.",
        "label": "Proceeds from Dividends Received",
        "terseLabel": "Proceeds from Dividends Received"
       }
      }
     },
     "localname": "ProceedsFromDividendsReceived",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceInitialPublicOffering": {
     "auth_ref": [
      "r111"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the amount received from entity's first offering of stock to the public.",
        "label": "Proceeds from Issuance Initial Public Offering",
        "terseLabel": "Proceeds from issuance of initial public offering"
       }
      }
     },
     "localname": "ProceedsFromIssuanceInitialPublicOffering",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r111"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the additional capital contribution to the entity.",
        "label": "Proceeds from Issuance of Common Stock",
        "terseLabel": "Proceeds from issuance of common stock",
        "verboseLabel": "Proceeds from issuance of common stock, net"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLifeInsurancePolicies": {
     "auth_ref": [
      "r107",
      "r119"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 15.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow for proceeds from settlement of corporate-owned life insurance policy, classified as investing activities. Includes, but is not limited to, bank-owned life insurance policy.",
        "label": "Proceeds from Life Insurance Policy",
        "terseLabel": "Proceeds from bank owned life insurance death benefit"
       }
      }
     },
     "localname": "ProceedsFromLifeInsurancePolicies",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromLinesOfCredit": {
     "auth_ref": [
      "r112",
      "r138"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from contractual arrangement with the lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Proceeds from Lines of Credit",
        "totalLabel": "Proceeds from Lines of Credit, Total",
        "verboseLabel": "Proceeds from revolving line of credit"
       }
      }
     },
     "localname": "ProceedsFromLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r104",
      "r105",
      "r289"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Proceeds from Maturities, Prepayments and Calls of Debt Securities, Available-for-sale",
        "terseLabel": "Proceeds from maturities and calls of securities available-for-sale"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities": {
     "auth_ref": [
      "r105",
      "r289"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the maturity, prepayments and calls (requests for early payments) of debt securities designated as held-to-maturity.",
        "label": "Proceeds from Maturities, Prepayments and Calls of Held-to-maturity Securities",
        "terseLabel": "Proceeds from maturities and calls of securities held-to-maturity"
       }
      }
     },
     "localname": "ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r127",
      "r128"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 7.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash flow from investments sold under the agreement to repurchase such investment.",
        "label": "Proceeds from (Payments for) in Securities Sold under Agreements to Repurchase",
        "terseLabel": "Net increase (decrease) in securities sold under agreements to repurchase"
       }
      }
     },
     "localname": "ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r104",
      "r105",
      "r289"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Proceeds from Sale of Debt Securities, Available-for-sale",
        "verboseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesAndCallsOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfOtherRealEstate": {
     "auth_ref": [
      "r107"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 14.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow associated with the sale of other real estate not otherwise defined in the taxonomy.",
        "label": "Proceeds from Sale of Other Real Estate",
        "terseLabel": "Proceeds from sales of other real estate owned"
       }
      }
     },
     "localname": "ProceedsFromSaleOfOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyHeldForSale": {
     "auth_ref": [
      "r106"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from the sale of formerly productive land held for sale, anything permanently fixed to it, including buildings, structures on it, and so forth.",
        "label": "Proceeds from Sale of Property Held-for-sale",
        "negatedLabel": "Proceeds from sales"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyHeldForSale",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleChangeInAssetsHeldForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 10.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Proceeds from Sale of Property, Plant, and Equipment",
        "terseLabel": "Proceeds from sales of premises and equipment",
        "totalLabel": "Proceeds from Sale of Property, Plant, and Equipment, Total"
       }
      }
     },
     "localname": "ProceedsFromSaleOfPropertyPlantAndEquipment",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromShortTermDebt": {
     "auth_ref": [
      "r112"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from a borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
        "label": "Proceeds from Short-term Debt",
        "terseLabel": "Proceeds from short-term borrowings and line of credit",
        "totalLabel": "Proceeds from Short-term Debt, Total"
       }
      }
     },
     "localname": "ProceedsFromShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r111",
      "r554"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash inflow from exercise of option under share-based payment arrangement.",
        "label": "Proceeds from Stock Options Exercised",
        "terseLabel": "Proceeds from the exercise of stock options"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Property, Plant and Equipment [Abstract]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentByTypeAxis": {
     "auth_ref": [
      "r40",
      "r400"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of long-lived, physical assets used to produce goods and services and not intended for resale.",
        "label": "Long-Lived Tangible Asset [Axis]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentByTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentDisclosureTextBlock": {
     "auth_ref": [
      "r405",
      "r989",
      "r990",
      "r991"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment Disclosure [Text Block]",
        "terseLabel": "Premises and Equipment and Assets Held for Sale"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSale"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentGross": {
     "auth_ref": [
      "r39",
      "r398"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_PropertyPlantAndEquipmentNet",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount before accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business and not intended for resale. Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
        "label": "Property, Plant and Equipment, Gross",
        "periodEndLabel": "Property, Plant and Equipment, Gross, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Gross, Beginning Balance",
        "totalLabel": "Total cost"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Property, Plant and Equipment [Line Items]",
        "terseLabel": "Premises and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r16",
      "r17",
      "r400",
      "r771",
      "r900",
      "r932"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 9.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Property, Plant and Equipment, Net",
        "periodEndLabel": "Property, Plant and Equipment, Net, Ending Balance",
        "periodStartLabel": "Property, Plant and Equipment, Net, Beginning Balance",
        "terseLabel": "Premises and equipment, net",
        "totalLabel": "Premises and equipment, net"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentPolicyTextBlock": {
     "auth_ref": [
      "r38",
      "r400",
      "r989",
      "r990"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for long-lived, physical asset used in normal conduct of business and not intended for resale. Includes, but is not limited to, work of art, historical treasure, and similar asset classified as collections.",
        "label": "Property, Plant and Equipment, Policy [Policy Text Block]",
        "terseLabel": "Premises and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTextBlock": {
     "auth_ref": [
      "r16",
      "r400"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table Text Block]",
        "terseLabel": "Schedule for Classification of Premises and Equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentTypeDomain": {
     "auth_ref": [
      "r16",
      "r398"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Listing of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale. Examples include land, buildings, machinery and equipment, and other types of furniture and equipment including, but not limited to, office equipment, furniture and fixtures, and computer equipment and software.",
        "label": "Long-Lived Tangible Asset [Domain]",
        "terseLabel": "Long-Lived Tangible Asset"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentUsefulLife": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment.",
        "label": "Property, Plant and Equipment, Useful Life",
        "terseLabel": "Estimated useful lives (in years)"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentUsefulLife",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ProvisionForLoanAndLeaseLosses": {
     "auth_ref": [
      "r123",
      "r241",
      "r873"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of expense related to estimated loss from loan and lease transactions.",
        "label": "Provision for Loan and Lease Losses",
        "terseLabel": "Provision for loan and lease losses",
        "totalLabel": "Provision for Loan and Lease Losses, Total",
        "verboseLabel": "Provision (recapture)"
       }
      }
     },
     "localname": "ProvisionForLoanAndLeaseLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_QuarterlyFinancialInformationDisclosureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Quarterly Financial Information Disclosure [Abstract]"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationDisclosureAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_QuarterlyFinancialInformationTextBlock": {
     "auth_ref": [
      "r195",
      "r196"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for quarterly financial data. Includes, but is not limited to, tabular presentation of financial information for fiscal quarters, effect of year-end adjustments, and an explanation of matters or transactions that affect comparability of the information.",
        "label": "Quarterly Financial Information [Text Block]",
        "terseLabel": "Selected Quarterly Financial Data (unaudited)"
       }
      }
     },
     "localname": "QuarterlyFinancialInformationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSelectedQuarterlyFinancialDataUnaudited"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RealEstateAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Real Estate [Abstract]"
       }
      }
     },
     "localname": "RealEstateAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RealEstateLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Real Estate [Line Items]",
        "terseLabel": "Real Estate [Line Items]"
       }
      }
     },
     "localname": "RealEstateLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RealEstateOwnedTextBlock": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Real Estate Owned [Text Block]",
        "terseLabel": "Other Real Estate Owned"
       }
      }
     },
     "localname": "RealEstateOwnedTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwned"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RealEstateTable": {
     "auth_ref": [
      "r1002"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Real Estate [Table]",
        "terseLabel": "Real Estate [Table]"
       }
      }
     },
     "localname": "RealEstateTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables [Abstract]"
       }
      }
     },
     "localname": "ReceivablesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RegulatoryAgencyAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by name of regulatory agency.",
        "label": "Regulatory Agency [Axis]",
        "terseLabel": "Regulatory Agency"
       }
      }
     },
     "localname": "RegulatoryAgencyAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RegulatoryAgencyDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Organization that establishes and ensures compliance with rules or regulations.",
        "label": "Regulatory Agency [Domain]",
        "terseLabel": "Regulatory Agency"
       }
      }
     },
     "localname": "RegulatoryAgencyDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "auth_ref": [
      "r908",
      "r909",
      "r910",
      "r912",
      "r913",
      "r914",
      "r916",
      "r917"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for regulatory capital requirement for depository and lending institutions. Institutions include, but not are not limited to, finance company, insured depository institution, bank holding company, savings and loan association holding company, bank and savings institution not federally insured, mortgage company, foreign financial institution and credit union.",
        "label": "Regulatory Capital Requirements under Banking Regulations [Text Block]",
        "terseLabel": "Regulatory Capital Requirements"
       }
      }
     },
     "localname": "RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirements"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RelatedPartyTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Related Party Transactions [Abstract]"
       }
      }
     },
     "localname": "RelatedPartyTransactionsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_RelatedPartyTransactionsDisclosureTextBlock": {
     "auth_ref": [
      "r761",
      "r762",
      "r764",
      "r766",
      "r767"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for related party transactions. Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
        "label": "Related Party Transactions Disclosure [Text Block]",
        "terseLabel": "Related Party Transactions"
       }
      }
     },
     "localname": "RelatedPartyTransactionsDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRelatedPartyTransactions"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RepaymentsOfLinesOfCredit": {
     "auth_ref": [
      "r114",
      "r138"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of cash outflow for payment of an obligation from a lender, including but not limited to, letter of credit, standby letter of credit and revolving credit arrangements.",
        "label": "Repayments of Lines of Credit",
        "negatedTerseLabel": "Repayments of revolving line of credit"
       }
      }
     },
     "localname": "RepaymentsOfLinesOfCredit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfShortTermDebt": {
     "auth_ref": [
      "r114"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for a borrowing having initial term of repayment within one year or the normal operating cycle, if longer.",
        "label": "Repayments of Short-term Debt",
        "negatedLabel": "Repayments of short-term borrowings and line of credit",
        "totalLabel": "Repayments of Short-term Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepaymentsOfSubordinatedDebt": {
     "auth_ref": [
      "r114"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow from the repayment of long-term borrowing where a lender is placed in a lien position behind debt having a higher priority of repayment (senior) in case of liquidation of the entity's assets or underlying collateral.",
        "label": "Repayments of Subordinated Debt",
        "terseLabel": "Redemption of debentures in whole at par value",
        "totalLabel": "Repayments of Subordinated Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfSubordinatedDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RepurchaseAgreementsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Repurchase Agreements [Member]",
        "terseLabel": "Customer Repurchase Agreements"
       }
      }
     },
     "localname": "RepurchaseAgreementsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r291",
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities collateralized by residential real estate mortgage loans.",
        "label": "Residential Mortgage Backed Securities [Member]",
        "terseLabel": "Mortgage-Backed Securities; Residential"
       }
      }
     },
     "localname": "ResidentialMortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialPortfolioSegmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Portfolio segment of the company's total financing receivables related to residential financing receivables.",
        "label": "Residential Portfolio Segment [Member]",
        "terseLabel": "Residential Real Estate"
       }
      }
     },
     "localname": "ResidentialPortfolioSegmentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonrecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialRealEstateMember": {
     "auth_ref": [
      "r358",
      "r501"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Property that is used as a home.",
        "label": "Residential Real Estate [Member]",
        "terseLabel": "Residential Real Estate"
       }
      }
     },
     "localname": "ResidentialRealEstateMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedInvestments": {
     "auth_ref": [
      "r985",
      "r986"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 4.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Restricted Investments",
        "terseLabel": "Restricted stock, at cost"
       }
      }
     },
     "localname": "RestrictedInvestments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r188"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Restricted Stock [Member]",
        "terseLabel": "Restricted Shares",
        "verboseLabel": "Restricted Stock Award"
       }
      }
     },
     "localname": "RestrictedStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r32",
      "r488",
      "r563",
      "r771",
      "r929",
      "r956",
      "r961"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 3.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings (Accumulated Deficit)",
        "periodEndLabel": "Retained Earnings (Accumulated Deficit), Ending Balance",
        "periodStartLabel": "Retained Earnings (Accumulated Deficit), Beginning Balance",
        "terseLabel": "Retained earnings",
        "totalLabel": "Retained Earnings (Accumulated Deficit), Total",
        "verboseLabel": "Reclassification from other comprehensive income to retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r2",
      "r151",
      "r152",
      "r153",
      "r158",
      "r168",
      "r170",
      "r340",
      "r559",
      "r560",
      "r561",
      "r593",
      "r594",
      "r685",
      "r952",
      "r954"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
        "label": "Retained Earnings [Member]",
        "terseLabel": "Retained Earnings"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r211",
      "r212",
      "r222",
      "r227",
      "r228",
      "r232",
      "r233",
      "r235",
      "r492",
      "r493",
      "r832"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Revenue from Contract with Customer, Including Assessed Tax",
        "verboseLabel": "Fair value of servicing assets"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Revenues": {
     "auth_ref": [
      "r91",
      "r139",
      "r211",
      "r212",
      "r222",
      "r227",
      "r228",
      "r232",
      "r233",
      "r235",
      "r335",
      "r421",
      "r422",
      "r423",
      "r425",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r708",
      "r887"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails": {
       "order": 0.0,
       "parentTag": "by_IncomeLossBeforeProvisionForIncomeTaxesAndEquityInUndistributedIncomeLossOfSubsidiary",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process. Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
        "label": "Revenues",
        "totalLabel": "Total income"
       }
      }
     },
     "localname": "Revenues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RevenuesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Revenues [Abstract]",
        "terseLabel": "INCOME"
       }
      }
     },
     "localname": "RevenuesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RiskBasedRatiosAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Risk-Based Information [Abstract]",
        "terseLabel": "Total capital to risk weighted assets:"
       }
      }
     },
     "localname": "RiskBasedRatiosAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SaleOfStockNameOfTransactionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
        "label": "Sale of Stock [Domain]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SaleOfStockNameOfTransactionDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table]",
        "terseLabel": "Schedule Of Accounts Notes Loans And Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesEstimatedFairValueOfImpairedLoansAcquiredAtAcquisitionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r54"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
        "terseLabel": "Schedule of Outstanding Loan and Lease Receivables"
       }
      }
     },
     "localname": "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r75",
      "r728",
      "r729"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of accumulated other comprehensive income (loss).",
        "label": "Schedule of Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Schedule of Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)"
       }
      }
     },
     "localname": "ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Debt Securities, Available-for-sale [Line Items]",
        "terseLabel": "Schedule Of Available For Sale Securities [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesTable": {
     "auth_ref": [
      "r297",
      "r302",
      "r321",
      "r322",
      "r323",
      "r326",
      "r889",
      "r892"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of available-for-sale securities which includes, but is not limited to, changes in the cost basis and fair value, fair value and gross unrealized gain (loss), fair values by type of security, contractual maturity and classification, amortized cost basis, contracts to acquire securities to be accounted for as available-for-sale, debt maturities, transfers to trading, change in net unrealized holding gain (loss) net of tax, continuous unrealized loss position fair value, aggregate losses qualitative disclosures, other than temporary impairment (OTTI) losses or other disclosures related to available for sale securities.",
        "label": "Schedule of Available-for-sale Securities [Table]",
        "terseLabel": "Schedule Of Available For Sale Securities [Table]"
       }
      }
     },
     "localname": "ScheduleOfAvailableForSaleSecuritiesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable": {
     "auth_ref": [
      "r613",
      "r614"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table]",
        "terseLabel": "Schedule Of Business Acquisitions By Acquisition [Table]"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfAcquiredNonImpairedLoansAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessSummaryOfEstimatedFairValuesOfAssetsAndLiabilitiesAssumedAsOfAcquisitionDateParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock": {
     "auth_ref": [
      "r613",
      "r614"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Business Acquisitions, by Acquisition [Table Text Block]",
        "terseLabel": "Summary of Acquired Non-Impaired Loans as of Acquisition Date"
       }
      }
     },
     "localname": "ScheduleOfBusinessAcquisitionsByAcquisitionTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r653"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Cash Flow Hedges Included in Accumulated Other Comprehensive Income (Loss) [Table Text Block]",
        "terseLabel": "Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations Relating to Cash Flow Derivative Instruments"
       }
      }
     },
     "localname": "ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A table disclosing the capital amounts and ratios as of the balance sheet date indicating whether the entity or entities are in compliance with regulatory capital requirements, by entity.",
        "label": "Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table]",
        "terseLabel": "Schedule Of Compliance With Regulatory Capital Requirements Under Banking Regulations [Table]"
       }
      }
     },
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the capital amounts and ratios as of the balance sheet date, indicating whether the entity or entities are in compliance with regulatory capital requirements, by entity.",
        "label": "Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table Text Block]",
        "terseLabel": "Summary of Bank's Actual Capital Amounts and Ratios"
       }
      }
     },
     "localname": "ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock": {
     "auth_ref": [
      "r590"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of income tax expense attributable to continuing operations for each year presented including, but not limited to: current tax expense (benefit), deferred tax expense (benefit), investment tax credits, government grants, the benefits of operating loss carryforwards, tax expense that results from allocating certain tax benefits either directly to contributed capital or to reduce goodwill or other noncurrent intangible assets of an acquired entity, adjustments of a deferred tax liability or asset for enacted changes in tax laws or rates or a change in the tax status of the entity, and adjustments of the beginning-of-the-year balances of a valuation allowance because of a change in circumstances that causes a change in judgment about the realizability of the related deferred tax asset in future years.",
        "label": "Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]",
        "terseLabel": "Schedule of components of provision for income taxes"
       }
      }
     },
     "localname": "ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDebtTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of information pertaining to short-term and long-debt instruments or arrangements, including but not limited to identification of terms, features, collateral requirements and other information necessary to a fair presentation.",
        "label": "Schedule of Debt [Table Text Block]",
        "terseLabel": "Summary of Other Borrowings"
       }
      }
     },
     "localname": "ScheduleOfDebtTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock": {
     "auth_ref": [
      "r581"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the components of net deferred tax asset or liability recognized in an entity's statement of financial position, including the following: the total of all deferred tax liabilities, the total of all deferred tax assets, the total valuation allowance recognized for deferred tax assets.",
        "label": "Schedule of Deferred Tax Assets and Liabilities [Table Text Block]",
        "terseLabel": "Schedule of components of deferred tax assets and liabilities"
       }
      }
     },
     "localname": "ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r187"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
        "label": "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
        "terseLabel": "Schedule of Calculation of Basic and Diluted Earnings per Share"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable": {
     "auth_ref": [
      "r177",
      "r181",
      "r185",
      "r187",
      "r192"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The table contains disclosure pertaining to an entity's basic earnings per share.",
        "label": "Schedule of Earnings Per Share, Basic, by Common Class, Including Two Class Method [Table]",
        "terseLabel": "Schedule Of Earnings Per Share Basic By Common Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfEarningsPerShareBasicByCommonClassTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock": {
     "auth_ref": [
      "r574"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the reconciliation using percentage or dollar amounts of the reported amount of income tax expense attributable to continuing operations for the year to the amount of income tax expense that would result from applying domestic federal statutory tax rates to pretax income from continuing operations.",
        "label": "Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]",
        "terseLabel": "Schedule of reconciliation between statutory U.S. federal income tax rate and effective tax rate"
       }
      }
     },
     "localname": "ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable": {
     "auth_ref": [
      "r528",
      "r550",
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table]",
        "terseLabel": "Schedule Of Employee Service Share Based Compensation Allocation Of Recognized Period Costs [Table]"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "auth_ref": [
      "r528",
      "r550",
      "r564"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
        "terseLabel": "Summary of Stock Compensation Expense"
       }
      }
     },
     "localname": "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r689",
      "r690"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
        "terseLabel": "Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis"
       }
      }
     },
     "localname": "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r651"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Fair Value Hedging Instruments, Statements of Financial Performance and Financial Position, Location [Table Text Block]",
        "terseLabel": "Summary of Derivative Financial Instruments and Classification on Consolidated Statements of Financial Condition"
       }
      }
     },
     "localname": "ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r347",
      "r1026"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about allowance for credit loss on financing receivable.",
        "label": "Financing Receivable, Allowance for Credit Loss [Table]",
        "terseLabel": "Schedule Of Financing Receivable Allowance For Credit Losses [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "auth_ref": [
      "r353",
      "r360"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about credit quality indicator for financing receivable.",
        "label": "Financing Receivable, Credit Quality Indicator [Table]",
        "terseLabel": "Schedule Of Financing Receivable Recorded Investment Credit Quality Indicator [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable": {
     "auth_ref": [
      "r257",
      "r259"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about financing receivable modified as troubled debt restructuring.",
        "label": "Financing Receivable, Troubled Debt Restructuring [Table]",
        "terseLabel": "Schedule Of Financing Receivable Troubled Debt Restructurings [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Financing Receivables, Minimum Payments [Table Text Block]",
        "terseLabel": "Summary of Minimum Annual Lease Payments for Lease Financing Receivables"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureLoansAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r348",
      "r361"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about aging analysis for financing receivable.",
        "label": "Financing Receivable, Past Due [Table]",
        "terseLabel": "Schedule Of Financing Receivables Past Due [Table]"
       }
      }
     },
     "localname": "ScheduleOfFinancingReceivablesPastDueTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable": {
     "auth_ref": [
      "r383",
      "r388",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of assets, excluding financial assets and goodwill, lacking physical substance with a finite life.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table]",
        "terseLabel": "Schedule Of Finite Lived Intangible Assets [Table]"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesCustomerRelationshipIntangiblesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesOtherIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock": {
     "auth_ref": [
      "r383",
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of assets, excluding financial assets and goodwill, lacking physical substance with a finite life, by either major class or business segment.",
        "label": "Schedule of Finite-Lived Intangible Assets [Table Text Block]",
        "terseLabel": "Summary of Changes in Goodwill and Core Deposit Intangible Assets"
       }
      }
     },
     "localname": "ScheduleOfFiniteLivedIntangibleAssetsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock": {
     "auth_ref": [
      "r739"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date.",
        "label": "Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]",
        "terseLabel": "Summary of Minimum Annual Rental Commitments for Operating Leases"
       }
      }
     },
     "localname": "ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Held-to-maturity Securities [Line Items]",
        "terseLabel": "Schedule Of Held To Maturity Securities [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfHeldToMaturitySecuritiesLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesTable": {
     "auth_ref": [
      "r309",
      "r313",
      "r316"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about investment in debt security measured at amortized cost (held-to-maturity).",
        "label": "Debt Securities, Held-to-maturity [Table]",
        "terseLabel": "Schedule Of Held To Maturity Securities [Table]"
       }
      }
     },
     "localname": "ScheduleOfHeldToMaturitySecuritiesTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfImpairedFinancingReceivableTable": {
     "auth_ref": [
      "r252"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of the recorded investment, unpaid principal balance, associated allowance, average recorded investment, accounting policies, and interest income recognized on the accrual and cash basis for impaired financing receivables by class of financing receivable.",
        "label": "Schedule of Impaired Financing Receivable [Table]",
        "terseLabel": "Schedule Of Impaired Financing Receivable [Table]"
       }
      }
     },
     "localname": "ScheduleOfImpairedFinancingReceivableTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Schedule of Investments [Line Items]",
        "terseLabel": "Schedule Of Investments [Line Items]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r965"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A container table for all schedule of investment items. It ties in the \"Legal Entity [Axis]\" to all of its contained line items.",
        "label": "Schedule of Investments [Table]",
        "terseLabel": "Schedule Of Investments [Table]"
       }
      }
     },
     "localname": "ScheduleOfInvestmentsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r654",
      "r656"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of derivative instrument not designated or qualifying as hedging instrument.",
        "label": "Derivatives Not Designated as Hedging Instruments [Table Text Block]",
        "terseLabel": "Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations Relating to Derivative Instruments not Designated in Hedging Relationship"
       }
      }
     },
     "localname": "ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r40",
      "r400"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about physical assets used in the normal conduct of business and not intended for resale. Includes, but is not limited to, balances by class of assets, depreciation and depletion expense and method used, including composite depreciation, and accumulated deprecation.",
        "label": "Property, Plant and Equipment [Table]",
        "terseLabel": "Schedule Of Property Plant And Equipment [Table]"
       }
      }
     },
     "localname": "ScheduleOfPropertyPlantAndEquipmentTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPremisesAndEquipmentDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosurePremisesAndEquipmentAndAssetsHeldForSaleScheduleForClassificationOfPremisesAndEquipmentDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfQuarterlyFinancialInformationTableTextBlock": {
     "auth_ref": [
      "r194"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of quarterly financial data. Includes, but is not limited to, financial information for fiscal quarters, cumulative effect of a change in accounting principle and earnings per share data.",
        "label": "Quarterly Financial Information [Table Text Block]",
        "terseLabel": "Schedule of Selected Quarterly Financial Data (unaudited)"
       }
      }
     },
     "localname": "ScheduleOfQuarterlyFinancialInformationTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSelectedQuarterlyFinancialDataUnauditedTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRealEstatePropertiesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Real Estate Properties [Table Text Block]",
        "terseLabel": "Change in Other Real Estate Owned"
       }
      }
     },
     "localname": "ScheduleOfRealEstatePropertiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRealizedGainLossTableTextBlock": {
     "auth_ref": [
      "r325"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the proceeds from sales of available-for-sale securities and the gross realized gains and gross realized losses that have been included in earnings as a result of those sales.",
        "label": "Schedule of Realized Gain (Loss) [Table Text Block]",
        "terseLabel": "Summary of Proceeds From Sales and Calls of Securities Available-for-sale and Associated Gains and Losses"
       }
      }
     },
     "localname": "ScheduleOfRealizedGainLossTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock": {
     "auth_ref": [
      "r620"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Recognized Identified Assets Acquired and Liabilities Assumed [Table Text Block]",
        "terseLabel": "Summary of Estimates Fair Values of Assets and Liabilities Assumed as of Acquisition Date"
       }
      }
     },
     "localname": "ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAcquisitionOfBusinessTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock": {
     "auth_ref": [
      "r810"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Servicing Assets at Fair Value [Table Text Block]",
        "terseLabel": "Activity for Servicing Assets and Related Changes in Fair Value"
       }
      }
     },
     "localname": "ScheduleOfServicingAssetsAtFairValueTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r529",
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about share-based payment arrangement.",
        "label": "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]",
        "terseLabel": "Schedule Of Share Based Compensation Arrangements By Share Based Payment Award [Table]"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r534"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
        "terseLabel": "Summary of Changes in Restricted Shares"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r534",
      "r545",
      "r547"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Payment Arrangement, Option, Activity [Table Text Block]",
        "terseLabel": "Summary of Activity in shares Subjected to Options and Weighted Average Exercise Prices"
       }
      }
     },
     "localname": "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable": {
     "auth_ref": [
      "r456",
      "r457",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Schedule of Financial Instruments Subject to Mandatory Redemption [Table]",
        "terseLabel": "Schedule Of Shares Subject To Mandatory Redemption [Table]"
       }
      }
     },
     "localname": "ScheduleOfSharesSubjectToMandatoryRedemptionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r50",
      "r136",
      "r198",
      "r199",
      "r459",
      "r461",
      "r462",
      "r464",
      "r465",
      "r466",
      "r467",
      "r469",
      "r473",
      "r478",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r487",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Stock by Class [Table]",
        "terseLabel": "Schedule Of Stock By Class [Table]"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTextBlock": {
     "auth_ref": [
      "r26",
      "r27",
      "r28",
      "r460",
      "r461",
      "r462",
      "r481",
      "r482",
      "r484",
      "r485",
      "r486",
      "r487",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Schedule of Stock by Class [Table Text Block]",
        "terseLabel": "Summary of Preferred and Common Stock"
       }
      }
     },
     "localname": "ScheduleOfStockByClassTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock": {
     "auth_ref": [
      "r321"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For all investments in an unrealized loss position, including those for which other-than-temporary impairments have not been recognized in earnings (including investments for which a portion of an other-than-temporary impairment has been recognized in other comprehensive income), a tabular disclosure of the aggregate related fair value of investments with unrealized losses and the aggregate amount of unrealized losses (that is, the amount by which amortized cost basis exceeds fair value).",
        "label": "Schedule of Unrealized Loss on Investments [Table Text Block]",
        "terseLabel": "Summary of Gross Unrealized Losses and Fair Values, Aggregated by Investment Category and Length of Individual Securities Continuous Unrealized Loss Position Available-for-sale and Held to Maturity"
       }
      }
     },
     "localname": "ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r388"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the amount of amortization expense expected to be recorded in succeeding fiscal years for finite-lived intangible assets.",
        "label": "Schedule of Finite-Lived Intangible Assets, Future Amortization Expense [Table Text Block]",
        "terseLabel": "Estimated Amortization Expense for Core Deposit Intangible and Customer Relationship Intangible Recognized"
       }
      }
     },
     "localname": "ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuritiesReceivedAsCollateralAmountForeclosed": {
     "auth_ref": [
      "r237"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Securities Received as Collateral, Amount Foreclosed",
        "terseLabel": "Net additions to OREO"
       }
      }
     },
     "localname": "SecuritiesReceivedAsCollateralAmountForeclosed",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r58",
      "r61",
      "r144",
      "r145",
      "r856"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Securities Sold under Agreements to Repurchase",
        "terseLabel": "Securities sold under agreements to repurchase",
        "totalLabel": "Securities Sold under Agreements to Repurchase, Total"
       }
      }
     },
     "localname": "SecuritiesSoldUnderAgreementsToRepurchase",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SegmentReportingPolicyPolicyTextBlock": {
     "auth_ref": [
      "r216",
      "r217",
      "r218",
      "r219",
      "r220",
      "r221",
      "r233"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for segment reporting.",
        "label": "Segment Reporting, Policy [Policy Text Block]",
        "terseLabel": "Segment reporting"
       }
      }
     },
     "localname": "SegmentReportingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SeriesAPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding nonredeemable series A preferred stock or outstanding series A preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series A Preferred Stock [Member]",
        "terseLabel": "Series A Preferred Stock"
       }
      }
     },
     "localname": "SeriesAPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SeriesBPreferredStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Outstanding nonredeemable series B preferred stock or outstanding series B preferred stock. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Series B Preferred Stock [Member]",
        "terseLabel": "Series B Preferred Stock"
       }
      }
     },
     "localname": "SeriesBPreferredStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServicingAssetAtFairValueAdditions": {
     "auth_ref": [
      "r812"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Servicing Asset at Fair Value, Additions",
        "terseLabel": "Additions, net"
       }
      }
     },
     "localname": "ServicingAssetAtFairValueAdditions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "auth_ref": [
      "r803",
      "r804",
      "r805",
      "r811"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 7.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Servicing Asset at Fair Value, Amount",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Servicing assets, at fair value"
       }
      }
     },
     "localname": "ServicingAssetAtFairValueAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions": {
     "auth_ref": [
      "r814"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions",
        "terseLabel": "Changes in fair value",
        "totalLabel": "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions, Total",
        "verboseLabel": "Changes in fair value of servicing assets"
       }
      }
     },
     "localname": "ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetMeasurementInput": {
     "auth_ref": [
      "r694"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of input used to measure servicing asset.",
        "label": "Servicing Asset, Measurement Input",
        "terseLabel": "Unobservable Inputs"
       }
      }
     },
     "localname": "ServicingAssetMeasurementInput",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_ServicingAssetValuationTechniqueExtensibleList": {
     "auth_ref": [
      "r693"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates valuation technique for measuring servicing asset.",
        "label": "Servicing Asset, Valuation Technique [Extensible Enumeration]",
        "terseLabel": "Servicing Asset, Valuation Technique [Extensible List]"
       }
      }
     },
     "localname": "ServicingAssetValuationTechniqueExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r123"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS": {
       "order": 20.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of noncash expense for share-based payment arrangement.",
        "label": "Share-based Payment Arrangement, Noncash Expense",
        "terseLabel": "Share-based compensation expense",
        "totalLabel": "Share-based Payment Arrangement, Noncash Expense, Total"
       }
      }
     },
     "localname": "ShareBasedCompensation",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialCashFlowDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r530"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period",
        "terseLabel": "Award vesting period"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r539"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
        "negatedLabel": "Number of shares, forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r544"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r542"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
        "terseLabel": "Number of shares, granted",
        "verboseLabel": "Shares of restricted voting common stock granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r542"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r541"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
        "periodEndLabel": "Number of shares, ending balance",
        "periodStartLabel": "Number of shares, beginning balance",
        "verboseLabel": "Number of shares outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r541"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement. Excludes share and unit options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
        "periodEndLabel": "Weighted average grant date fair value, ending balance",
        "periodStartLabel": "Weighted average grant date fair value, beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r543"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
        "negatedLabel": "Number of shares, vested",
        "verboseLabel": "Restricted shares vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue": {
     "auth_ref": [
      "r546"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Fair Value",
        "terseLabel": "Fair value of restricted shares, vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r543"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period, Weighted Average Grant Date Fair Value",
        "terseLabel": "Weighted average grant date fair value, vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
        "terseLabel": "Share Based Compensation Arrangement By Share Based Payment Award [Line Items]"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant",
        "terseLabel": "Number of common shares available for future grants"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number",
        "terseLabel": "Number of Shares, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r537"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Exercisable"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "auth_ref": [
      "r546"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period, Intrinsic Value",
        "terseLabel": "Intrinsic Value, Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r540"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options or other stock instruments for which the right to exercise has lapsed under the terms of the plan agreements.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Expirations in Period",
        "negatedLabel": "Number of Shares, Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod": {
     "auth_ref": [
      "r539"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period",
        "negatedLabel": "Number of Shares, Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Gross number of share options (or share units) granted during the period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross",
        "terseLabel": "Number of options granted",
        "verboseLabel": "Number of Shares, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r553"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount by which the current fair value of the underlying stock exceeds the exercise price of options outstanding.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Intrinsic Value",
        "terseLabel": "Intrinsic Value, Outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r536",
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options outstanding, including both vested and non-vested options.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
        "periodEndLabel": "Number of Shares, Ending balance",
        "periodStartLabel": "Number of Shares, Beginning balance",
        "verboseLabel": "Number of shares outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r535"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
        "periodEndLabel": "Weighted Average Exercise Price, Ending balance",
        "periodStartLabel": "Weighted Average Exercise Price, Beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r527",
      "r532"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Award under share-based payment arrangement.",
        "label": "Award Type [Domain]",
        "terseLabel": "Award Type"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Exercised"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options of the plan that expired.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Expirations in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Expired"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExpirationsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Forfeited"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
        "label": "Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
        "terseLabel": "Weighted Average Exercise Price, Granted"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "First portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-based Payment Arrangement, Tranche One [Member]",
        "terseLabel": "Threshold performance"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheOneMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Third portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-based Payment Arrangement, Tranche Three [Member]",
        "terseLabel": "75th Percentile Performance"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheThreeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationAwardTrancheTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Second portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
        "label": "Share-based Payment Arrangement, Tranche Two [Member]",
        "terseLabel": "50th Percentile Performance"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheTwoMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy": {
     "auth_ref": [
      "r529",
      "r533"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for award under share-based payment arrangement. Includes, but is not limited to, methodology and assumption used in measuring cost.",
        "label": "Share-based Payment Arrangement [Policy Text Block]",
        "terseLabel": "Share-based compensation"
       }
      }
     },
     "localname": "ShareBasedCompensationOptionAndIncentivePlansPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r531"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period",
        "terseLabel": "Award contractual term"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r553"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value",
        "terseLabel": "Intrinsic Value, Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
        "terseLabel": "Weighted Average Remaining Contractual Term (in Years), Exercisable"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of non-vested options outstanding.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares",
        "periodEndLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares, Ending Balance",
        "periodStartLabel": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Nonvested, Number of Shares, Beginning Balance",
        "terseLabel": "Non-vested share-based payment awards"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsNonvestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r548"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
        "verboseLabel": "Weighted Average Remaining Contractual Term (in Years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of options vested.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested, Number of Shares",
        "terseLabel": "Options vested"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesIssuedPricePerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Per share or per unit amount of equity securities issued.",
        "label": "Shares Issued, Price Per Share",
        "terseLabel": "Issuance of common stock, price per share"
       }
      }
     },
     "localname": "SharesIssuedPricePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_SharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued which are neither cancelled nor held in the treasury.",
        "label": "Shares, Outstanding",
        "periodEndLabel": "Ending balance, shares",
        "periodStartLabel": "Beginning balance, shares"
       }
      }
     },
     "localname": "SharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Financial Instruments Subject to Mandatory Redemption by Settlement Terms [Line Items]",
        "terseLabel": "Shares Subject To Mandatory Redemption By Settlement Terms [Line Items]"
       }
      }
     },
     "localname": "SharesSubjectToMandatoryRedemptionBySettlementTermsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermLeaseCost": {
     "auth_ref": [
      "r750",
      "r757"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of short-term lease cost, excluding expense for lease with term of one month or less.",
        "label": "Short-term Lease, Cost",
        "terseLabel": "Short - Term Lease Cost"
       }
      }
     },
     "localname": "ShortTermLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SpecialMentionMember": {
     "auth_ref": [
      "r255",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Special Mention [Member]",
        "terseLabel": "Special Mention"
       }
      }
     },
     "localname": "SpecialMentionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StateAndLocalJurisdictionMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Designated tax department of a state or local government entitled to levy and collect income taxes from the entity.",
        "label": "State and Local Jurisdiction [Member]",
        "terseLabel": "Illinois",
        "verboseLabel": "State and Local Jurisdiction"
       }
      }
     },
     "localname": "StateAndLocalJurisdictionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsParentheticalDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r26",
      "r27",
      "r28",
      "r136",
      "r139",
      "r177",
      "r181",
      "r182",
      "r185",
      "r187",
      "r198",
      "r199",
      "r200",
      "r335",
      "r421",
      "r425",
      "r426",
      "r427",
      "r430",
      "r431",
      "r464",
      "r465",
      "r469",
      "r473",
      "r480",
      "r708",
      "r1012"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by the different classes of stock of the entity.",
        "label": "Class of Stock [Axis]",
        "terseLabel": "Class of Stock"
       }
      }
     },
     "localname": "StatementClassOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockParentheticalDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r2",
      "r53",
      "r85",
      "r86",
      "r87",
      "r151",
      "r152",
      "r153",
      "r158",
      "r168",
      "r170",
      "r197",
      "r340",
      "r480",
      "r488",
      "r559",
      "r560",
      "r561",
      "r593",
      "r594",
      "r685",
      "r723",
      "r724",
      "r725",
      "r726",
      "r727",
      "r729",
      "r952",
      "r953",
      "r954",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Retained Earnings"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Statement [Line Items]",
        "terseLabel": "Statement [Line Items]"
       }
      }
     },
     "localname": "StatementLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Cash Flows [Abstract]"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Financial Position [Abstract]"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfOtherComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Other Comprehensive Income [Abstract]"
       }
      }
     },
     "localname": "StatementOfOtherComprehensiveIncomeAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementOfStockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statement of Stockholders' Equity [Abstract]"
       }
      }
     },
     "localname": "StatementOfStockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementTable": {
     "auth_ref": [
      "r151",
      "r152",
      "r153",
      "r197",
      "r832"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
        "label": "Statement [Table]",
        "terseLabel": "Statement [Table]"
       }
      }
     },
     "localname": "StatementTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesNatureOfBusinessDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFOPERATIONS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r27",
      "r28",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of stock issued during the period pursuant to acquisitions.",
        "label": "Stock Issued During Period, Shares, Acquisitions",
        "terseLabel": "Issuance of common stock and stock options due to business combination, net of issuance costs, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans": {
     "auth_ref": [
      "r27",
      "r28",
      "r480",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares issued during the period as a result of an employee stock purchase plan.",
        "label": "Stock Issued During Period, Shares, Employee Stock Purchase Plans",
        "terseLabel": "Issuance of common stock in connection with employee stock purchase plan, shares",
        "verboseLabel": "Stock issued under employee stock purchase plans"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesNewIssues": {
     "auth_ref": [
      "r27",
      "r28",
      "r480",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of new stock issued during the period.",
        "label": "Stock Issued During Period, Shares, New Issues",
        "terseLabel": "Issuance of common stock, net of issuance cost, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesNewIssues",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross": {
     "auth_ref": [
      "r480",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total number of shares issued during the period, including shares forfeited, as a result of Restricted Stock Awards.",
        "label": "Stock Issued During Period, Shares, Restricted Stock Award, Gross",
        "terseLabel": "Restricted stock activity, shares"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r27",
      "r28",
      "r480",
      "r488",
      "r538"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of share options (or share units) exercised during the current period.",
        "label": "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
        "negatedLabel": "Number of Shares, Exercised",
        "terseLabel": "Issuance of common stock upon exercise of stock options, shares",
        "verboseLabel": "Number of options exercised"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "auth_ref": [
      "r53",
      "r480",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued pursuant to acquisitions during the period.",
        "label": "Stock Issued During Period, Value, Acquisitions",
        "terseLabel": "Issuance of common stock and stock options due to business combination, net of issuance costs"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan": {
     "auth_ref": [
      "r27",
      "r28",
      "r480",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate change in value for stock issued during the period as a result of employee stock purchase plan.",
        "label": "Stock Issued During Period, Value, Employee Stock Purchase Plan",
        "terseLabel": "Issuance of common stock in connection with employee stock purchase plan"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueEmployeeStockPurchasePlan",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross": {
     "auth_ref": [
      "r27",
      "r28",
      "r480",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate value of stock related to Restricted Stock Awards issued during the period.",
        "label": "Stock Issued During Period, Value, Restricted Stock Award, Gross",
        "terseLabel": "Restricted stock activity"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r53",
      "r480",
      "r488"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value of stock issued as a result of the exercise of stock options.",
        "label": "Stock Issued During Period, Value, Stock Options Exercised",
        "terseLabel": "Issuance of common stock upon exercise of stock options"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan.",
        "label": "Stock Repurchase Program, Number of Shares Authorized to be Repurchased",
        "terseLabel": "Aggregate number of shares authorized to repurchase"
       }
      }
     },
     "localname": "StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining number of shares authorized to be repurchased by an entity's Board of Directors under a stock repurchase plan.",
        "label": "Stock Repurchase Program, Remaining Number of Shares Authorized to be Repurchased",
        "terseLabel": "Stock repurchase program number of shares authorized to be repurchased"
       }
      }
     },
     "localname": "StockRepurchaseProgramRemainingNumberOfSharesAuthorizedToBeRepurchased",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r27",
      "r28",
      "r480",
      "r488"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury. Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Shares",
        "negatedLabel": "Repurchase of common stock, shares",
        "terseLabel": "Repurchase of common stock, shares",
        "verboseLabel": "Number of shares purchased"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r27",
      "r28",
      "r480",
      "r488"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury. Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore. This element is used when state law does not recognize treasury stock.",
        "label": "Stock Repurchased During Period, Value",
        "negatedLabel": "Repurchases of common stock",
        "terseLabel": "Repurchase of stock, value"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r28",
      "r34",
      "r35",
      "r139",
      "r268",
      "r335",
      "r708",
      "r771"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 2.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent. The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest). This excludes temporary equity and is sometimes called permanent equity.",
        "label": "Stockholders' Equity Attributable to Parent",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Stockholders' equity",
        "totalLabel": "Total stockholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "STOCKHOLDERS' EQUITY (Note 25)"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r137",
      "r465",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r474",
      "r475",
      "r476",
      "r477",
      "r479",
      "r488",
      "r491"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income. Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
        "label": "Stockholders' Equity Note Disclosure [Text Block]",
        "terseLabel": "Stockholders' Equity"
       }
      }
     },
     "localname": "StockholdersEquityNoteDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubleaseIncome": {
     "auth_ref": [
      "r752",
      "r757"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of sublease income excluding finance and operating lease expense.",
        "label": "Sublease Income",
        "terseLabel": "Sublease income"
       }
      }
     },
     "localname": "SubleaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubordinatedDebt": {
     "auth_ref": [
      "r19",
      "r22",
      "r851",
      "r927"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_LiabilitiesAndStockholdersEquity",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 3.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Including the current and noncurrent portions, carrying value as of the balance sheet date of subordinated debt (with initial maturities beyond one year or beyond the operating cycle if longer). Subordinated debt places a lender in a lien position behind debt having a higher priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt",
        "periodEndLabel": "Subordinated Debt, Ending Balance",
        "periodStartLabel": "Subordinated Debt, Beginning Balance",
        "terseLabel": "Subordinated notes, net",
        "totalLabel": "Subordinated Debt, Total"
       }
      }
     },
     "localname": "SubordinatedDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureParentCompanyOnlyCondensedFinancialStatementsStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubordinatedDebtMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This element represents domestic or foreign subordinated debt. Subordinated debt has a lower priority of repayment in liquidation of the entity's assets.",
        "label": "Subordinated Debt [Member]",
        "terseLabel": "Subordinated Notes"
       }
      }
     },
     "localname": "SubordinatedDebtMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r730",
      "r772"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event [Member]",
        "terseLabel": "Subsequent Event"
       }
      }
     },
     "localname": "SubsequentEventMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r730",
      "r772"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]",
        "terseLabel": "Subsequent Event Type"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r730",
      "r772"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]",
        "terseLabel": "Subsequent Event Type"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsidiarySaleOfStockAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of sale of the entity's stock.",
        "label": "Sale of Stock [Axis]",
        "terseLabel": "Sale of Stock"
       }
      }
     },
     "localname": "SubsidiarySaleOfStockAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEmployeeBenefitPlansAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubstandardMember": {
     "auth_ref": [
      "r255",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Substandard [Member]",
        "terseLabel": "Substandard"
       }
      }
     },
     "localname": "SubstandardMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SummaryInvestmentHoldingsTextBlock": {
     "auth_ref": [
      "r975"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the summary of investment holdings.",
        "label": "Summary Investment Holdings [Table Text Block]",
        "terseLabel": "Summary of Amortized Cost and Fair Values of Securities Available-for-sale,Held to Maturity and Other Securities"
       }
      }
     },
     "localname": "SummaryInvestmentHoldingsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SummaryOfOperatingLossCarryforwardsTextBlock": {
     "auth_ref": [
      "r585"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of pertinent information, such as tax authority, amounts, and expiration dates, of net operating loss carryforwards, including an assessment of the likelihood of utilization.",
        "label": "Summary of Operating Loss Carryforwards [Table Text Block]",
        "terseLabel": "Operating Loss and Credit Carryforwards"
       }
      }
     },
     "localname": "SummaryOfOperatingLossCarryforwardsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SupplementalCashFlowInformationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Supplemental Cash Flow Information [Abstract]",
        "terseLabel": "SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:"
       }
      }
     },
     "localname": "SupplementalCashFlowInformationAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCASHFLOWS"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxPeriodAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information about the period subject to enacted tax laws.",
        "label": "Tax Period [Axis]"
       }
      }
     },
     "localname": "TaxPeriodAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TaxPeriodDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Identified tax period.",
        "label": "Tax Period [Domain]"
       }
      }
     },
     "localname": "TaxPeriodDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesOperatingLossAndCreditCarryforwardsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TierOneLeverageCapital": {
     "auth_ref": [
      "r911"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Tier 1 leverage capital as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Leverage Capital, Actual",
        "terseLabel": "Tier 1 capital to average, Actual Amount"
       }
      }
     },
     "localname": "TierOneLeverageCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum Tier 1 leverage capital required for capital adequacy as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Leverage Capital, Capital Adequacy, Minimum",
        "terseLabel": "Tier 1 capital to average, Minimum Amount Required for Adequately Capitalized Amount"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredForCapitalAdequacy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of minimum Tier 1 leverage capital to average assets required for capital adequacy as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Leverage Capital Ratio, Capital Adequacy, Minimum",
        "terseLabel": "Tier 1 capital to average, Minimum Amount Required for Adequately Capitalized Ratio ( as a percentage)"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalized": {
     "auth_ref": [
      "r911"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum Tier 1 leverage capital categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
        "label": "Banking Regulation, Tier One Leverage Capital, Well Capitalized, Minimum",
        "terseLabel": "Tier 1 capital to average, Minimum Amount To Be Well Capitalized Amount"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredToBeWellCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of minimum Tier 1 leverage capital to average assets categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
        "label": "Banking Regulation, Tier One Leverage Capital Ratio, Well Capitalized, Minimum",
        "terseLabel": "Tier 1 capital to average, Minimum Amount To Be Well Capitalized Ratio ( as a percentage)"
       }
      }
     },
     "localname": "TierOneLeverageCapitalRequiredToBeWellCapitalizedToAverageAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneLeverageCapitalToAverageAssets": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of Tier 1 capital to average assets as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Leverage Capital Ratio, Actual",
        "terseLabel": "Tier 1 capital to average, Actual Ratio ( as a percentage)"
       }
      }
     },
     "localname": "TierOneLeverageCapitalToAverageAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneRiskBasedCapital": {
     "auth_ref": [
      "r911"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of Tier 1 risk-based capital as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Risk-Based Capital, Actual",
        "terseLabel": "Tier 1 capital to risk weighted assets, Actual Amount"
       }
      }
     },
     "localname": "TierOneRiskBasedCapital",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Banking Regulation, Tier One Risk-Based Capital [Abstract]",
        "terseLabel": "Tier 1 capital to risk weighted assets:"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum Tier 1 risk-based capital required for capital adequacy as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Risk-Based Capital, Capital Adequacy, Minimum",
        "terseLabel": "Tier 1 capital to risk weighted assets, Minimum Amount Required for Adequately Capitalized Amount"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredForCapitalAdequacy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets": {
     "auth_ref": [
      "r911",
      "r915"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of minimum Tier 1 risk-based capital to risk-weighted assets required for capital adequacy as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Risk-Based Capital Ratio, Capital Adequacy, Minimum",
        "terseLabel": "Tier 1 capital to risk weighted assets, Minimum Amount Required for Adequately Capitalized Ratio ( as a percentage)"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalized": {
     "auth_ref": [
      "r911"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of minimum Tier 1 risk-based capital categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
        "label": "Banking Regulation, Tier One Risk-Based Capital, Well Capitalized, Minimum",
        "terseLabel": "Tier 1 capital to risk weighted assets, Minimum Amount To Be Well Capitalized Amount"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredToBeWellCapitalized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of minimum Tier 1 risk-based capital to risk-weighted assets categorized as well capitalized as defined by regulatory framework for prompt corrective action.",
        "label": "Banking Regulation, Tier One Risk-Based Capital Ratio, Well Capitalized, Minimum",
        "terseLabel": "Tier 1 capital to risk weighted assets, Minimum Amount To Be Well Capitalized Ratio (asa percentage)"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalRequiredToBeWellCapitalizedToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets": {
     "auth_ref": [
      "r911"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Ratio of Tier 1 risk-based capital to risk-weighted assets as defined by regulatory framework.",
        "label": "Banking Regulation, Tier One Risk-Based Capital Ratio, Actual",
        "terseLabel": "Tier 1 capital to risk weighted assets, Actual Ratio ( as a percentage)"
       }
      }
     },
     "localname": "TierOneRiskBasedCapitalToRiskWeightedAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureRegulatoryCapitalRequirementsDetails"
     ],
     "xbrltype": "pureItemType"
    },
    "us-gaap_TimeDepositMaturitiesTableTextBlock": {
     "auth_ref": [
      "r418"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of time deposit liability maturities.",
        "label": "Time Deposit Maturities [Table Text Block]",
        "terseLabel": "Schedule of Maturities of Time Deposits"
       }
      }
     },
     "localname": "TimeDepositMaturitiesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearFour": {
     "auth_ref": [
      "r418"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Time Deposit Maturities, Year Four",
        "terseLabel": "2025"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearOne": {
     "auth_ref": [
      "r418"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Time Deposit Maturities, Year One",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearOne",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearThree": {
     "auth_ref": [
      "r418"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Time Deposit Maturities, Year Three",
        "terseLabel": "2024"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearTwo": {
     "auth_ref": [
      "r418"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_InterestBearingDomesticDepositTimeDeposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Time Deposit Maturities, Year Two",
        "terseLabel": "2023"
       }
      }
     },
     "localname": "TimeDepositMaturitiesYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsScheduledMaturitiesOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDeposits": {
     "auth_ref": [
      "r855",
      "r903"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of time deposit liabilities, including certificates of deposit.",
        "label": "Time Deposits",
        "terseLabel": "Time deposits",
        "totalLabel": "Time Deposits, Total"
       }
      }
     },
     "localname": "TimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TradingSecurities": {
     "auth_ref": [
      "r863"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "Debt Securities, Trading, and Equity Securities, FV-NI",
        "terseLabel": "Trading securities",
        "totalLabel": "Debt Securities, Trading, and Equity Securities, FV-NI, Total"
       }
      }
     },
     "localname": "TradingSecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransfersAndServicingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Transfers and Servicing [Abstract]"
       }
      }
     },
     "localname": "TransfersAndServicingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialAssetsServicingOfFinancialAssetsPolicy": {
     "auth_ref": [
      "r807",
      "r810",
      "r817"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for servicing assets and liabilities including, but not necessarily limited to: (a) how a servicing asset or servicing liability is initially recognized and measured, (b) management's basis for determining its classes of servicing assets and servicing liabilities, (c) where contractually specified fees, late fees or ancillary fees are reported in the statement of income, (d) how the entity subsequently measures each class of servicing assets and servicing liabilities (that is, by using the amortization method or fair value method), and the methodology and significant assumptions used to value such servicing, (e) for those classes subsequently measured using the amortization method, where changes in the carrying amount are reported in the statement of income and how such servicing assets and liabilities are evaluated for impairment, and (f) for those classes subsequently measured at fair value, where changes in the fair value are reported in the statement of income.",
        "label": "Transfers and Servicing of Financial Assets, Servicing of Financial Assets, Policy [Policy Text Block]",
        "terseLabel": "Servicing assets"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialAssetsServicingOfFinancialAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialAssetsTextBlock": {
     "auth_ref": [
      "r775",
      "r776",
      "r781",
      "r785",
      "r788",
      "r789",
      "r794",
      "r796",
      "r799",
      "r800",
      "r802",
      "r806",
      "r808",
      "r809",
      "r810",
      "r815",
      "r816",
      "r824",
      "r826",
      "r830"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Transfers and Servicing of Financial Assets [Text Block]",
        "terseLabel": "Servicing Assets"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialAssetsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialAssetsTransfersOfFinancialAssetsPolicy": {
     "auth_ref": [
      "r774",
      "r786",
      "r787",
      "r797"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for transfers of financial assets, including securitization transactions. The disclosure is generally expected to include how the entity determines whether a transaction is accounted for as a sale or financing, and the initial and subsequent accounting for such a transaction. The disclosure also may address how interests that are obtained and sold, or those that continue to be held, in such transactions are measured and accounted for, and the methodology and significant assumptions used to value such interests, and the gains or losses resulting from the sale.",
        "label": "Transfers and Servicing of Financial Assets, Transfers of Financial Assets, Policy [Policy Text Block]",
        "terseLabel": "Transfers of financial assets"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialAssetsTransfersOfFinancialAssetsPolicy",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r309",
      "r313",
      "r330",
      "r331",
      "r332",
      "r449",
      "r478",
      "r675",
      "r775",
      "r776",
      "r777",
      "r778",
      "r779",
      "r780",
      "r782",
      "r783",
      "r784",
      "r790",
      "r791",
      "r792",
      "r793",
      "r798",
      "r801",
      "r811",
      "r812",
      "r813",
      "r814",
      "r818",
      "r819",
      "r820",
      "r821",
      "r822",
      "r823",
      "r824",
      "r825",
      "r827",
      "r828",
      "r829",
      "r1012",
      "r1013",
      "r1014",
      "r1015",
      "r1016",
      "r1017",
      "r1018"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Instrument or contract that imposes a contractual obligation to deliver cash or another financial instrument or to exchange other financial instruments on potentially unfavorable terms and conveys a contractual right to receive cash or another financial instrument or to exchange other financial instruments on potentially favorable terms.",
        "label": "Financial Instruments [Domain]",
        "terseLabel": "Financial Instruments"
       }
      }
     },
     "localname": "TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockCommonShares": {
     "auth_ref": [
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of previously issued common shares repurchased by the issuing entity and held in treasury.",
        "label": "Treasury Stock, Common, Shares",
        "terseLabel": "Treasury stock",
        "verboseLabel": "Treasury shares"
       }
      }
     },
     "localname": "TreasuryStockCommonShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONParenthetical"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r52",
      "r489"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shares of an entity that have been repurchased by the entity. This stock has no voting rights and receives no dividends. Note that treasury stock may be recorded at its total cost or separately as par (or stated) value and additional paid in capital. Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer. Classified within temporary equity if redemption is outside the control of the issuer.",
        "label": "Treasury Stock [Member]",
        "terseLabel": "Treasury Stock"
       }
      }
     },
     "localname": "TreasuryStockMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFCHANGESINSTOCKHOLDERSEQUITY"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r52",
      "r489",
      "r490"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION": {
       "order": 4.0,
       "parentTag": "us-gaap_StockholdersEquity",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "Treasury Stock, Value",
        "negatedLabel": "Treasury stock at cost, 118486 shares at December 31, 2020",
        "periodEndLabel": "Treasury Stock, Value, Ending Balance",
        "periodStartLabel": "Treasury Stock, Value, Beginning Balance",
        "totalLabel": "Treasury Stock, Value, Total"
       }
      }
     },
     "localname": "TreasuryStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_StatementCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITION"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r257",
      "r259"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financing receivable modified as troubled debt restructuring.",
        "label": "Financing Receivable, Troubled Debt Restructuring [Table Text Block]",
        "terseLabel": "Summary of TDR's by Loan Category"
       }
      }
     },
     "localname": "TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r157",
      "r158",
      "r159",
      "r161",
      "r171",
      "r276",
      "r277",
      "r337",
      "r338",
      "r339",
      "r340",
      "r343",
      "r344",
      "r420",
      "r555",
      "r556",
      "r557",
      "r558",
      "r559",
      "r560",
      "r561",
      "r563",
      "r591",
      "r592",
      "r593",
      "r594",
      "r676",
      "r677",
      "r678",
      "r679",
      "r680",
      "r681",
      "r682",
      "r684",
      "r685",
      "r686",
      "r687",
      "r711",
      "r712",
      "r713",
      "r714",
      "r715",
      "r716",
      "r720",
      "r721",
      "r759",
      "r834",
      "r835",
      "r836",
      "r950",
      "r951",
      "r952",
      "r953",
      "r954",
      "r955",
      "r956",
      "r957",
      "r958",
      "r959",
      "r960",
      "r961",
      "r1050",
      "r1051",
      "r1052",
      "r1053",
      "r1054"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amendment to accounting standards.",
        "label": "Accounting Standards Update [Domain]",
        "terseLabel": "Accounting Standards Update"
       }
      }
     },
     "localname": "TypeOfAdoptionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "auth_ref": [
      "r146",
      "r501",
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "US Government Agencies Debt Securities [Member]",
        "terseLabel": "U.S. Government Agencies"
       }
      }
     },
     "localname": "USGovernmentAgenciesDebtSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r501",
      "r962"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "US States and Political Subdivisions Debt Securities [Member]",
        "terseLabel": "Obligations of States, Municipalities, and Political Subdivisions"
       }
      }
     },
     "localname": "USStatesAndPoliticalSubdivisionsMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasuryNotesSecuritiesMember": {
     "auth_ref": [
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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.",
        "label": "US Treasury Notes Securities [Member]",
        "terseLabel": "USTreasuryNotesSecurities"
       }
      }
     },
     "localname": "USTreasuryNotesSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "auth_ref": [
      "r146",
      "r501",
      "r516",
      "r888"
     ],
     "lang": {
      "en-us": {
       "role": {
        "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).",
        "label": "US Treasury Securities [Member]",
        "terseLabel": "U.S. Treasury Notes"
       }
      }
     },
     "localname": "USTreasurySecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnamortizedDebtIssuanceExpense": {
     "auth_ref": [
      "r41"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The remaining balance of debt issuance expenses that were capitalized and are being amortized against income over the lives of the respective bond issues. This does not include the amounts capitalized as part of the cost of the utility plant or asset.",
        "label": "Unamortized Debt Issuance Expense",
        "terseLabel": "Unamortized debt issuance costs"
       }
      }
     },
     "localname": "UnamortizedDebtIssuanceExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_UnderlyingAssetClassAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by underlying asset class.",
        "label": "Underlying Asset Class [Axis]",
        "terseLabel": "Underlying Asset Class"
       }
      }
     },
     "localname": "UnderlyingAssetClassAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnderlyingAssetClassDomain": {
     "auth_ref": [
      "r664"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Major types of referenced/underlying asset classes (for example, corporate debt, sovereign debt, and structured finance).",
        "label": "Underlying Asset Class [Domain]",
        "terseLabel": "Underlying Asset Class"
       }
      }
     },
     "localname": "UnderlyingAssetClassDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnlikelyToBeCollectedFinancingReceivableMember": {
     "auth_ref": [
      "r255",
      "r353"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Financing arrangement that represents a contractual right to receive money either on demand or on fixed or determinable dates that are considered uncollectible or of little value. Excludes no recovery or salvage value.",
        "label": "Unlikely to be Collected Financing Receivable [Member]",
        "terseLabel": "Loss"
       }
      }
     },
     "localname": "UnlikelyToBeCollectedFinancingReceivableMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UseOfEstimates": {
     "auth_ref": [
      "r201",
      "r202",
      "r204",
      "r205",
      "r206",
      "r207",
      "r208"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
        "label": "Use of Estimates, Policy [Policy Text Block]",
        "terseLabel": "Use of estimates"
       }
      }
     },
     "localname": "UseOfEstimates",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureBusinessAndSummaryOfSignificantAccountingPoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r751",
      "r757"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_LeaseCost",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of variable lease cost, excluded from lease liability, recognized when obligation for payment is incurred for finance and operating leases.",
        "label": "Variable Lease, Cost",
        "terseLabel": "Variable Lease, Cost"
       }
      }
     },
     "localname": "VariableLeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_VariableRateAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of variable rate.",
        "label": "Variable Rate [Axis]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VariableRateDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
        "label": "Variable Rate [Domain]",
        "terseLabel": "Variable Rate"
       }
      }
     },
     "localname": "VariableRateDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/DisclosureAccountingPronouncementsRecentlyIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VestingAxis": {
     "auth_ref": [
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Axis]",
        "terseLabel": "Vesting"
       }
      }
     },
     "localname": "VestingAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VestingDomain": {
     "auth_ref": [
      "r553"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Vesting schedule of award under share-based payment arrangement.",
        "label": "Vesting [Domain]",
        "terseLabel": "Vesting"
       }
      }
     },
     "localname": "VestingDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r176",
      "r187"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
        "label": "Weighted Average Number of Shares Outstanding, Diluted",
        "totalLabel": "Weighted-average common stock outstanding (dilutive)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
        "terseLabel": "Weighted-average common stock outstanding:"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r174",
      "r187"
     ],
     "calculation": {
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
       "weight": 1.0
      }
     },
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
        "label": "Weighted Average Number of Shares Outstanding, Basic",
        "terseLabel": "Shares outstanding",
        "totalLabel": "Weighted Average Number of Shares Outstanding, Basic, Total",
        "verboseLabel": "Weighted-average common stock outstanding (basic)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfSharesOutstandingBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20211231/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 8
  }
 },
 "std_ref": {
  "r0": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r1": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r10": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(2)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721675-107760"
  },
  "r100": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(b)(4))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r1000": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 2))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r1001": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Footnote 4))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r1002": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(c)",
   "Topic": "976",
   "URI": "http://asc.fasb.org/extlink&oid=6497875&loc=d3e22274-108663"
  },
  "r1003": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "310",
   "Subparagraph": "(b)",
   "Topic": "978",
   "URI": "http://asc.fasb.org/extlink&oid=123360121&loc=d3e27327-108691"
  },
  "r1004": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r1005": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r1006": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-23"
  },
  "r1007": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r1008": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310"
  },
  "r1009": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f"
  },
  "r101": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.4)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r1010": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f"
  },
  "r1011": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r1012": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r1013": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r1014": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r1015": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r1016": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r1017": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r1018": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r1019": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1403"
  },
  "r102": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03.6)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r1020": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r1021": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r1022": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)"
  },
  "r1023": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)"
  },
  "r1024": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)"
  },
  "r1025": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)"
  },
  "r1026": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405"
  },
  "r1027": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r1028": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(e)",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r1029": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r103": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r1030": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "11",
   "Subsection": "03"
  },
  "r1031": {
   "Footnote": "2",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1032": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1033": {
   "Footnote": "4",
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "29"
  },
  "r1034": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04"
  },
  "r1035": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column B",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1036": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column C",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1037": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column D",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1038": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column E",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1039": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column F",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r104": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3151-108585"
  },
  "r1040": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column G",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1041": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column H",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1042": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "Column I",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "28"
  },
  "r1043": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "a",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "04"
  },
  "r1044": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(i)",
   "Subsection": "01"
  },
  "r1045": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "01"
  },
  "r1046": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "13",
   "Subparagraph": "(4)(iv)",
   "Subsection": "02"
  },
  "r1047": {
   "Name": "Regulation S-X (SX)",
   "Number": "210",
   "Paragraph": "i",
   "Publisher": "SEC",
   "Section": "3",
   "Subsection": "10"
  },
  "r1048": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r1049": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r105": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r1050": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848"
  },
  "r1051": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848"
  },
  "r1052": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848"
  },
  "r1053": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848"
  },
  "r1054": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r1055": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "848"
  },
  "r106": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r107": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3179-108585"
  },
  "r108": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r109": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r11": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r110": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3213-108585"
  },
  "r111": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r112": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3255-108585"
  },
  "r113": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r114": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r115": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3291-108585"
  },
  "r116": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3337-108585"
  },
  "r117": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3367-108585"
  },
  "r118": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3444-108585"
  },
  "r119": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21C",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=SL94080552-108585"
  },
  "r12": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6676-107765"
  },
  "r120": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3521-108585"
  },
  "r121": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r122": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3536-108585"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r125": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3602-108585"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3044-108585"
  },
  "r127": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3095-108585"
  },
  "r128": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123570139&loc=d3e3098-108585"
  },
  "r129": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4273-108586"
  },
  "r13": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=124098289&loc=d3e6812-107765"
  },
  "r130": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4297-108586"
  },
  "r131": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4304-108586"
  },
  "r132": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4313-108586"
  },
  "r133": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=d3e4332-108586"
  },
  "r134": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "230",
   "URI": "http://asc.fasb.org/extlink&oid=123431023&loc=SL98516268-108586"
  },
  "r135": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=123372394&loc=d3e18823-107790"
  },
  "r136": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(d))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r137": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(e)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r138": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(f))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r139": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(g)(1)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r14": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r140": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(1)(Note 1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r141": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h)(2))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r142": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(h))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r143": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(k)(1))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r144": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r145": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A)(i))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r146": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(ii)(A))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r147": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(n))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r148": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(a))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.12-04(b))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
  },
  "r15": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(12))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r150": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r151": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21914-107793"
  },
  "r152": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "24",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21930-107793"
  },
  "r153": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21711-107793"
  },
  "r154": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124436220&loc=d3e21728-107793"
  },
  "r155": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r156": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r157": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r158": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r159": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(4)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r16": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(13))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r160": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r161": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r162": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r163": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r164": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r165": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r166": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r167": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r168": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22644-107794"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r17": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(14))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r170": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r171": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.M.Q2)",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=d3e31137-122693"
  },
  "r172": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "250",
   "URI": "http://asc.fasb.org/extlink&oid=122038215&loc=SL108384541-122693"
  },
  "r173": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1448-109256"
  },
  "r175": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1377-109256"
  },
  "r176": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1505-109256"
  },
  "r177": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1252-109256"
  },
  "r178": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1707-109256"
  },
  "r179": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1757-109256"
  },
  "r18": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(17))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r180": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1500-109256"
  },
  "r181": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1278-109256"
  },
  "r182": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "55",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e2626-109256"
  },
  "r183": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r184": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r185": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "60B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=SL5780133-109256"
  },
  "r186": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125511455&loc=d3e1337-109256"
  },
  "r187": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r188": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257"
  },
  "r189": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257"
  },
  "r19": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(19))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r190": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
  },
  "r191": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e3842-109258"
  },
  "r192": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "52",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "260",
   "URI": "http://asc.fasb.org/extlink&oid=125512782&loc=d3e4984-109258"
  },
  "r193": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r194": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=124502072&loc=d3e1280-108306"
  },
  "r195": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "270",
   "URI": "http://asc.fasb.org/extlink&oid=124502072&loc=SL124452896-108306"
  },
  "r196": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "270",
   "URI": "http://asc.fasb.org/topic&trid=2126967"
  },
  "r197": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70191-108054"
  },
  "r198": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=125520817&loc=d3e70229-108054"
  },
  "r199": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
  },
  "r2": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r20": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "272",
   "URI": "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
  },
  "r201": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r202": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r203": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
  },
  "r204": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
  },
  "r205": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
  },
  "r206": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
  },
  "r207": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
  },
  "r208": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "275",
   "URI": "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
  },
  "r209": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r21": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(20))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r210": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8672-108599"
  },
  "r211": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r212": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r213": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r214": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r215": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599"
  },
  "r216": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r217": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r218": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r219": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r22": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(22))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r220": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r221": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8864-108599"
  },
  "r222": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r224": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r225": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "30",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599"
  },
  "r226": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599"
  },
  "r227": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r228": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r229": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r23": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(24))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r230": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r231": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "32",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599"
  },
  "r232": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "40",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9031-108599"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r234": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "41",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9038-108599"
  },
  "r235": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "42",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "280",
   "URI": "http://asc.fasb.org/extlink&oid=123359005&loc=d3e9054-108599"
  },
  "r236": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522"
  },
  "r237": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124259787&loc=d3e4437-111522"
  },
  "r238": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5162-111524"
  },
  "r239": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r24": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r240": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r241": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r242": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r243": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r244": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r245": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953423-111524"
  },
  "r246": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953550-111524"
  },
  "r247": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r248": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r249": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b,d)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r25": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(26)(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r250": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r251": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r252": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5212-111524"
  },
  "r253": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5258-111524"
  },
  "r254": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5033-111524"
  },
  "r255": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953659-111524"
  },
  "r256": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5066-111524"
  },
  "r257": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "33",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953676-111524"
  },
  "r258": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524"
  },
  "r259": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "34",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524"
  },
  "r26": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(27))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r260": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "35",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL49126937-111524"
  },
  "r261": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524"
  },
  "r262": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5086-111524"
  },
  "r263": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5093-111524"
  },
  "r264": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r265": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5111-111524"
  },
  "r266": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=SL6953401-111524"
  },
  "r267": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123577603&loc=d3e5144-111524"
  },
  "r268": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 4.E)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74512-122707"
  },
  "r269": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.L.1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=122038336&loc=d3e74567-122707"
  },
  "r27": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(28))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r270": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r271": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
  },
  "r272": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10133-111534"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10149-111534"
  },
  "r274": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10152-111534"
  },
  "r275": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=84159169&loc=d3e10178-111534"
  },
  "r276": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r277": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r278": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r279": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(d)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=124402435&loc=SL124402458-218513"
  },
  "r28": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(29))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r280": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "15",
   "SubTopic": "30",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=123409700&loc=d3e13503-111538"
  },
  "r281": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
  },
  "r282": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
  },
  "r283": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
  },
  "r284": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)(ii)",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121614798&loc=d3e15032-111544"
  },
  "r285": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196854"
  },
  "r286": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "310",
   "URI": "http://asc.fasb.org/extlink&oid=121585226&loc=d3e18845-111554"
  },
  "r287": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "40",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196892"
  },
  "r288": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562"
  },
  "r289": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=d3e26853-111562"
  },
  "r29": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3)(a)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r290": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=124260329&loc=SL6284422-111562"
  },
  "r291": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL6283291-111563"
  },
  "r292": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r293": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r294": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r295": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r296": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r297": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27161-111563"
  },
  "r298": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r299": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r3": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r30": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r301": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r302": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27198-111563"
  },
  "r303": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(aa)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r305": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r306": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r307": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r308": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r309": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27232-111563"
  },
  "r31": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r310": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r311": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r312": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r313": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269820-111563"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563"
  },
  "r315": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563"
  },
  "r316": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL120269825-111563"
  },
  "r317": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r318": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r319": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r32": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r320": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(3)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r321": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27290-111563"
  },
  "r322": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27337-111563"
  },
  "r323": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27340-111563"
  },
  "r324": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=SL6284393-111563"
  },
  "r325": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r326": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r327": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "320",
   "URI": "http://asc.fasb.org/extlink&oid=123581744&loc=d3e27357-111563"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r329": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583714&loc=SL75117360-209713"
  },
  "r33": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30)(a)(4))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r330": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r331": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r332": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117539-209714"
  },
  "r333": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "321",
   "URI": "http://asc.fasb.org/extlink&oid=123583765&loc=SL75117546-209714"
  },
  "r334": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r335": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "323",
   "URI": "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r336": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "30",
   "Topic": "325",
   "URI": "http://asc.fasb.org/extlink&oid=6384439&loc=d3e42048-111605"
  },
  "r337": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r338": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r339": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r34": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(30))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r341": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r343": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r344": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(4)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=122640432&loc=SL121648383-210437"
  },
  "r345": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446"
  },
  "r346": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919244-210447"
  },
  "r347": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919249-210447"
  },
  "r348": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919253-210447"
  },
  "r349": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r35": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(31))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r350": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919258-210447"
  },
  "r351": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919272-210447"
  },
  "r352": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r353": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447"
  },
  "r354": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921830-210448"
  },
  "r355": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921833-210448"
  },
  "r356": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r357": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r358": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(d)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921835-210448"
  },
  "r359": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82921842-210448"
  },
  "r36": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02(32))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r360": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "79",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82922352-210448"
  },
  "r361": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "80",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124267575&loc=SL82922355-210448"
  },
  "r362": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/subtopic&trid=82887181"
  },
  "r363": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454"
  },
  "r364": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r365": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r366": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r367": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(3)",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r368": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922888-210455"
  },
  "r369": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922890-210455"
  },
  "r37": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.1)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r370": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922895-210455"
  },
  "r371": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=124269663&loc=SL82922900-210455"
  },
  "r372": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/extlink&oid=121590138&loc=SL82922954-210456"
  },
  "r373": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/subtopic&trid=82887182"
  },
  "r374": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13770-109266"
  },
  "r375": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=99380562&loc=d3e13777-109266"
  },
  "r376": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=120320667&loc=SL49117168-202975"
  },
  "r377": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r378": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r379": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13816-109267"
  },
  "r38": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13(a))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r380": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=121556970&loc=d3e13854-109267"
  },
  "r381": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16212-109274"
  },
  "r382": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=6388964&loc=d3e16225-109274"
  },
  "r383": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r384": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r385": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r386": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16265-109275"
  },
  "r387": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "((a)(1),(b))",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r388": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r389": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r39": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.13)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r390": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r391": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r392": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16323-109275"
  },
  "r393": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "350",
   "URI": "http://asc.fasb.org/extlink&oid=66006027&loc=d3e16373-109275"
  },
  "r394": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r395": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=123351718&loc=d3e2599-110228"
  },
  "r396": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=123351718&loc=d3e2611-110228"
  },
  "r397": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=123351718&loc=d3e2443-110228"
  },
  "r398": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r399": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r4": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r40": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.14)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
  },
  "r401": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r402": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r403": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r404": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "360",
   "URI": "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
  },
  "r405": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "360",
   "URI": "http://asc.fasb.org/topic&trid=2155823"
  },
  "r406": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "410",
   "URI": "http://asc.fasb.org/extlink&oid=6392676&loc=d3e7480-110848"
  },
  "r407": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394232&loc=d3e17558-110866"
  },
  "r408": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r409": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "420",
   "URI": "http://asc.fasb.org/extlink&oid=6394359&loc=d3e17939-110869"
  },
  "r41": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.17)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r410": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r411": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "440",
   "URI": "http://asc.fasb.org/extlink&oid=123406679&loc=d3e25336-109308"
  },
  "r412": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r413": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
  },
  "r414": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "450",
   "URI": "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14615-108349"
  },
  "r415": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r416": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=124440162&loc=d3e12069-110248"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "460",
   "URI": "http://asc.fasb.org/extlink&oid=123368208&loc=d3e12565-110249"
  },
  "r418": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=d3e1835-112601"
  },
  "r419": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123465755&loc=SL6230698-112601"
  },
  "r42": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19(b),22(b))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r420": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S65",
   "SubTopic": "10",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359872&loc=SL124427846-239511"
  },
  "r421": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r422": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(ii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r423": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r424": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iii))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r425": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r426": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-01(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756"
  },
  "r427": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(i))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r428": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(A))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r429": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iii)(B))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r43": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r430": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(4)(iv))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r431": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.13-02(a)(5))",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756"
  },
  "r432": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r433": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r434": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r435": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r436": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r437": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(f)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r438": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(h)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611"
  },
  "r439": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r44": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r440": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r441": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611"
  },
  "r442": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r443": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r444": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495348-112611"
  },
  "r445": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r446": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r447": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r448": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495355-112611"
  },
  "r449": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1I",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466505&loc=SL123495371-112611"
  },
  "r45": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.20,24)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r450": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870"
  },
  "r451": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466204&loc=SL6036836-161870"
  },
  "r452": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69B",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612"
  },
  "r453": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69C",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612"
  },
  "r454": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69E",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495743-112612"
  },
  "r455": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "69F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "470",
   "URI": "http://asc.fasb.org/extlink&oid=123466577&loc=SL123495745-112612"
  },
  "r456": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=118255708&loc=SL5909891-110878"
  },
  "r457": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262807&loc=d3e22026-110879"
  },
  "r458": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=109262807&loc=d3e22047-110879"
  },
  "r459": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(CFRR 211.02)",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r46": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(1))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r460": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Topic": "480",
   "URI": "http://asc.fasb.org/extlink&oid=122040564&loc=d3e177068-122764"
  },
  "r461": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
  },
  "r462": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21553-112644"
  },
  "r463": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21564-112644"
  },
  "r464": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r465": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r466": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r467": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r468": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r469": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r47": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22(a)(2))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r470": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r471": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644"
  },
  "r472": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r473": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r474": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496171-112644"
  },
  "r475": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496180-112644"
  },
  "r476": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r477": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r478": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "18",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=SL123496189-112644"
  },
  "r48": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.22)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r480": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21463-112644"
  },
  "r481": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21475-112644"
  },
  "r482": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21484-112644"
  },
  "r483": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21488-112644"
  },
  "r484": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21488-112644"
  },
  "r485": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21506-112644"
  },
  "r486": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21521-112644"
  },
  "r487": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=123467817&loc=d3e21538-112644"
  },
  "r488": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.3-04)",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
  },
  "r489": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405813&loc=d3e23239-112655"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.25)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r490": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "505",
   "URI": "http://asc.fasb.org/extlink&oid=6405834&loc=d3e23315-112656"
  },
  "r491": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r492": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130543-203045"
  },
  "r493": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123351226&loc=SL49130545-203045"
  },
  "r494": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r495": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "91",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123410239&loc=SL49130690-203046-203046"
  },
  "r496": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r497": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r498": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(i)(2)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r499": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(j)",
   "Topic": "606",
   "URI": "http://asc.fasb.org/extlink&oid=123338486&loc=SL49131195-203048"
  },
  "r5": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "105",
   "URI": "http://asc.fasb.org/extlink&oid=124434974&loc=SL124442142-165695"
  },
  "r50": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.28,29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r500": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(i)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r501": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(ii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r502": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iii)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r503": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(01)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r504": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r505": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(A)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r506": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(B)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r507": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(02)(C)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)(iv)(03)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r509": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(l)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r510": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(n)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r511": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(o)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r512": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(p)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r513": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(q)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r514": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(1)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(r)(2)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123447040&loc=d3e1928-114920"
  },
  "r516": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=123450688&loc=d3e4179-114921"
  },
  "r517": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "20",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=21916913&loc=d3e273930-122802"
  },
  "r518": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "60",
   "Subparagraph": "(c)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=6414203&loc=d3e39689-114964"
  },
  "r519": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "70",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=49170846&loc=d3e28014-114942"
  },
  "r52": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29,30)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r520": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
  },
  "r521": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(d)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r522": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(f)(3)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
  },
  "r523": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(a)",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
  },
  "r524": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "80",
   "Topic": "715",
   "URI": "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
  },
  "r525": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "715",
   "URI": "http://asc.fasb.org/topic&trid=2235017"
  },
  "r526": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "35",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=123468992&loc=d3e4534-113899"
  },
  "r527": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r528": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r529": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
  },
  "r53": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.29-31)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r530": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r531": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r532": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r533": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b),(f)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r534": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r535": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r537": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r538": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r539": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r54": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r540": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)(iv)(4)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r541": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(i)-(ii)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r542": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r543": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r544": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)(iii)(3)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r545": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r546": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r547": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r548": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r549": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(g)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r55": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-02.8)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r551": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(1)(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r552": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(i)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r553": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
  },
  "r554": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=120381028&loc=SL79508275-113901"
  },
  "r555": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r556": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r557": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r558": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r559": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r56": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r560": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r561": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(f)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r562": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(1)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r563": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(g)(2)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
  },
  "r564": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 14.F)",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122041274&loc=d3e301413-122809"
  },
  "r565": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11149-113907"
  },
  "r566": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "718",
   "URI": "http://asc.fasb.org/extlink&oid=122142933&loc=d3e11178-113907"
  },
  "r567": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r568": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "35",
   "Subparagraph": "(a)",
   "Topic": "720",
   "URI": "http://asc.fasb.org/extlink&oid=6420018&loc=d3e36677-107848"
  },
  "r569": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32247-109318"
  },
  "r57": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r570": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e32280-109318"
  },
  "r571": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31917-109318"
  },
  "r572": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123427490&loc=d3e31931-109318"
  },
  "r573": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32672-109319"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32687-109319"
  },
  "r575": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32705-109319"
  },
  "r576": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32718-109319"
  },
  "r577": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32809-109319"
  },
  "r578": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32840-109319"
  },
  "r579": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r58": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r580": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r581": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32537-109319"
  },
  "r582": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32847-109319"
  },
  "r583": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32857-109319"
  },
  "r584": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r585": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32559-109319"
  },
  "r586": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32621-109319"
  },
  "r587": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32632-109319"
  },
  "r588": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r589": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r59": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r590": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "9",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=121826272&loc=d3e32639-109319"
  },
  "r591": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r592": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r593": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r594": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(d)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r595": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r596": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r597": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123459177&loc=SL121830611-158277"
  },
  "r598": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.5.Q1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r599": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB TOPIC 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r6": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-04(Schedule I))",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=120391182&loc=d3e5864-122674"
  },
  "r60": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
  },
  "r600": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.7)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r601": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.1)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r602": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.2)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r603": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 6.I.Fact.4)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330036-122817"
  },
  "r604": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.C)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=122134291&loc=d3e330215-122817"
  },
  "r605": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=123586238&loc=d3e38679-109324"
  },
  "r606": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "270",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
  },
  "r607": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "740",
   "URI": "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
  },
  "r608": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r609": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "05",
   "SubTopic": "10",
   "Subparagraph": "(a)-(d)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=6909625&loc=d3e227-128457"
  },
  "r61": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
  },
  "r610": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "23",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123586518&loc=d3e1043-128460"
  },
  "r611": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(2)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r612": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(h)(3)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r613": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
  },
  "r614": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
  },
  "r615": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "37",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123455525&loc=d3e2207-128464"
  },
  "r616": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r617": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r618": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r619": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r62": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226016-175313"
  },
  "r620": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123413009&loc=d3e4845-128472"
  },
  "r621": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=123410050&loc=d3e5333-128473"
  },
  "r622": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6578-128477"
  },
  "r623": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "30",
   "SubTopic": "30",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=116859721&loc=d3e6613-128477"
  },
  "r624": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r625": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(1)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r626": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(4)",
   "Topic": "805",
   "URI": "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
  },
  "r627": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "805",
   "URI": "http://asc.fasb.org/topic&trid=2303972"
  },
  "r628": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=d3e5283-111683"
  },
  "r629": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "19",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569616-111683"
  },
  "r63": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226038-175313"
  },
  "r630": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123454820&loc=SL4569643-111683"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r632": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "25",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
  },
  "r633": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
  },
  "r634": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r635": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c),(3)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
  },
  "r636": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r637": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "810",
   "URI": "http://asc.fasb.org/extlink&oid=123419778&loc=d3e5710-111685"
  },
  "r638": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579240-113959"
  },
  "r639": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r64": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "22",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226052-175313"
  },
  "r640": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5579245-113959"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5580258-113959"
  },
  "r642": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)(ii)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r643": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41620-113959"
  },
  "r644": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41638-113959"
  },
  "r645": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r646": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r647": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5618551-113959"
  },
  "r648": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a),(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r649": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r65": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226000-175313"
  },
  "r650": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r651": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r652": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r653": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r654": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r655": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4C",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624171-113959"
  },
  "r656": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4CC",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL109998890-113959"
  },
  "r657": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r658": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r659": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624177-113959"
  },
  "r66": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226003-175313"
  },
  "r660": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4E",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624181-113959"
  },
  "r661": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624258-113959"
  },
  "r662": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624258-113959"
  },
  "r663": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624258-113959"
  },
  "r664": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959"
  },
  "r665": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4K",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5708775-113959"
  },
  "r666": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41641-113959"
  },
  "r667": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41675-113959"
  },
  "r668": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r669": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=d3e41678-113959"
  },
  "r67": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r670": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "182",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123421605&loc=SL5629052-113961"
  },
  "r671": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121577181&loc=SL110061190-113977"
  },
  "r672": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121483254&loc=SL109983883-199619"
  },
  "r673": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "25",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121577467&loc=d3e76258-113986"
  },
  "r674": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=121549185&loc=d3e80748-113994"
  },
  "r675": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123477628&loc=d3e90205-114008"
  },
  "r676": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r677": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r678": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r679": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r68": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r680": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r681": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(c)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r682": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r683": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(1)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r684": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(2)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r685": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(3)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r686": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)(4)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r687": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=123482062&loc=SL123482106-238011"
  },
  "r688": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r689": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r69": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r690": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r691": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r692": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r693": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r694": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(bbb)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r695": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r696": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r697": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r698": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19207-110258"
  },
  "r699": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r7": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=d3e1107-107759"
  },
  "r70": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(h)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=d3e19279-110258"
  },
  "r701": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
  },
  "r702": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "820",
   "URI": "http://asc.fasb.org/extlink&oid=123874694&loc=SL6742756-110258"
  },
  "r703": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594786&loc=SL75136599-209740"
  },
  "r704": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594809&loc=d3e13220-108610"
  },
  "r705": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13433-108611"
  },
  "r706": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13467-108611"
  },
  "r707": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123594938&loc=d3e13476-108611"
  },
  "r708": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "28",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(f)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r709": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "31",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123596393&loc=d3e14210-108612"
  },
  "r71": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669646-108580"
  },
  "r710": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL75039408-165497"
  },
  "r711": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL120254526-165497"
  },
  "r713": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r714": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r715": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(1)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r716": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)(2)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r717": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r718": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(2)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r719": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(3)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL121967933-165497"
  },
  "r72": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e637-108580"
  },
  "r720": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497"
  },
  "r721": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "825",
   "URI": "http://asc.fasb.org/extlink&oid=123597120&loc=SL122642865-165497"
  },
  "r722": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=123444420&loc=d3e33268-110906"
  },
  "r723": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
  },
  "r724": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r725": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(b)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r726": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r727": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Subparagraph": "(d)",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r728": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
  },
  "r729": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
  },
  "r73": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "12",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e640-108580"
  },
  "r730": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "830",
   "URI": "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
  },
  "r731": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391"
  },
  "r732": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28541-108399"
  },
  "r733": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399"
  },
  "r734": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399"
  },
  "r735": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629"
  },
  "r736": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "8",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "30",
   "Topic": "835",
   "URI": "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
  },
  "r737": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123394419&loc=d3e40246-112709"
  },
  "r738": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123406913&loc=d3e41502-112717"
  },
  "r739": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123406913&loc=d3e41502-112717"
  },
  "r74": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e681-108580"
  },
  "r740": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123386454&loc=d3e45280-112737"
  },
  "r741": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123392090&loc=d3e45377-112738"
  },
  "r742": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(1)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123392090&loc=d3e45377-112738"
  },
  "r743": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(2)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123392090&loc=d3e45377-112738"
  },
  "r744": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(3)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123392090&loc=d3e45377-112738"
  },
  "r745": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)(4)",
   "Topic": "840",
   "URI": "http://asc.fasb.org/extlink&oid=123392090&loc=d3e45377-112738"
  },
  "r746": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123341672&loc=SL77916155-209984"
  },
  "r747": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r748": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123391704&loc=SL77918627-209977"
  },
  "r749": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r75": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669686-108580"
  },
  "r750": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r751": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r752": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r753": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(3)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r754": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(g)(4)",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r755": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918686-209980"
  },
  "r756": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918701-209980"
  },
  "r757": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "53",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123414884&loc=SL77918982-209971"
  },
  "r758": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/subtopic&trid=77888251"
  },
  "r759": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848",
   "URI": "http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846"
  },
  "r76": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e689-108580"
  },
  "r760": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(e)(1)",
   "Topic": "848",
   "URI": "http://asc.fasb.org/extlink&oid=122150657&loc=SL122150809-237846"
  },
  "r761": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r762": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r763": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
  },
  "r765": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
  },
  "r766": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "850",
   "URI": "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
  },
  "r767": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "850",
   "URI": "http://asc.fasb.org/topic&trid=2122745"
  },
  "r768": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "14",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124437977&loc=d3e55792-112764"
  },
  "r769": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r77": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "17A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL34724391-108580"
  },
  "r770": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=124433192&loc=SL2890621-112765"
  },
  "r771": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "10",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "852",
   "URI": "http://asc.fasb.org/extlink&oid=84165509&loc=d3e56426-112766"
  },
  "r772": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
  },
  "r773": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "855",
   "URI": "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314020-165662"
  },
  "r774": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109221007&loc=SL6226446-111709"
  },
  "r775": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r776": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r777": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r778": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r779": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r78": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r780": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(bb)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r781": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r782": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r783": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r784": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r785": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(cc)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r786": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
  },
  "r787": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r788": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(a)(5)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r789": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r79": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r790": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r791": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r792": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(b)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r793": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r794": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(d)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
  },
  "r795": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719"
  },
  "r796": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=121570589&loc=SL51823488-111719"
  },
  "r797": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249708&loc=d3e113105-111724"
  },
  "r798": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "30",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
  },
  "r799": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(b)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "11",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "20",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222160&loc=SL51721533-107759"
  },
  "r80": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669619-108580"
  },
  "r800": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL6224234-111729"
  },
  "r801": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r802": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "30",
   "Subparagraph": "(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=109249958&loc=SL34722452-111729"
  },
  "r803": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122492-111745"
  },
  "r804": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745"
  },
  "r805": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745"
  },
  "r806": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122596-111746"
  },
  "r807": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a),(c)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122596-111746"
  },
  "r808": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122596-111746"
  },
  "r809": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(d)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122596-111746"
  },
  "r81": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r810": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r811": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r812": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r813": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r814": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(i)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r815": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)(ii)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r816": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122625-111746"
  },
  "r817": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r818": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r819": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r82": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=SL7669625-108580"
  },
  "r820": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r821": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(4)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r822": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(5)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r823": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(6)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r824": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(a)(7)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r825": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(b)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r826": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(d)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r827": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(1)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r828": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(2)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r829": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "50",
   "Subparagraph": "(e)(3)",
   "Topic": "860",
   "URI": "http://asc.fasb.org/extlink&oid=125521744&loc=d3e122739-111746"
  },
  "r83": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124509347&loc=d3e557-108580"
  },
  "r830": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "860",
   "URI": "http://asc.fasb.org/topic&trid=2197590"
  },
  "r831": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(b)",
   "Topic": "910",
   "URI": "http://asc.fasb.org/extlink&oid=123353855&loc=SL119991595-234733"
  },
  "r832": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SAB Topic 11.L)",
   "Topic": "924",
   "URI": "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
  },
  "r833": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154696&loc=d3e54445-107959"
  },
  "r834": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(a)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r835": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(b)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r836": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(c)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r837": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(1)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r838": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(2)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r839": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "20",
   "Subparagraph": "(f)(3)",
   "Topic": "926",
   "URI": "http://asc.fasb.org/extlink&oid=120154821&loc=SL120154904-197079"
  },
  "r84": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL116659661-227067"
  },
  "r840": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "340",
   "Topic": "928",
   "URI": "http://asc.fasb.org/extlink&oid=6473545&loc=d3e61844-108004"
  },
  "r841": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "25",
   "SubTopic": "20",
   "Topic": "940",
   "URI": "http://asc.fasb.org/extlink&oid=123384075&loc=d3e41242-110953"
  },
  "r842": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r843": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117340910&loc=d3e59706-112781"
  },
  "r844": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r845": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10)(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r846": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(10))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r847": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(11))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r848": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(13))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r849": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r85": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442407-227067"
  },
  "r850": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(15)(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r851": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(16))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r852": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r853": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03(6))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r854": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.10(4))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r855": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r856": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(1))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r857": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13(3)(a))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.13,16)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.15(5))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r86": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124442411-227067"
  },
  "r860": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.16)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r861": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.17)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r862": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r863": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.4)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r864": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.9-03.7)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
  },
  "r865": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(15))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r866": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(22))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r867": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(23))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r868": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(26))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r869": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04(27))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r870": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r871": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.1-5)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r872": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.10)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r873": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.11)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r874": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.12)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r875": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13(h))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r876": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.13)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r877": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(b))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r878": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14(d))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r879": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.14)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r88": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "15",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=124507222&loc=d3e1436-108581"
  },
  "r880": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r881": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.4)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r882": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.6)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r883": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.8)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r884": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.9-04.9)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r885": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123398031&loc=d3e60009-112784"
  },
  "r886": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "230",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123398031&loc=d3e60009-112784"
  },
  "r887": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "235",
   "Subparagraph": "(SX 210.9-05(b)(2))",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
  },
  "r888": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62557-112803"
  },
  "r889": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62557-112803"
  },
  "r89": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123457312&loc=SL116659633-172590"
  },
  "r890": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r891": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r892": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62586-112803"
  },
  "r893": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(a)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r894": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r895": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r896": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Subparagraph": "(d)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r897": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=SL120269850-112803"
  },
  "r898": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599081&loc=d3e62652-112803"
  },
  "r899": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r9": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Subparagraph": "(e)",
   "Topic": "205",
   "URI": "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760"
  },
  "r90": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(210.5-03(11))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r900": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=124429447&loc=SL124453093-239630"
  },
  "r901": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6957935&loc=d3e64057-112817"
  },
  "r902": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Subparagraph": "(c)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
  },
  "r903": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "405",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=116652737&loc=d3e64164-112818"
  },
  "r904": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=6479118&loc=d3e64650-112822"
  },
  "r905": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64684-112823"
  },
  "r906": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Subparagraph": "e",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r907": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "470",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823"
  },
  "r908": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)(1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r909": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(a)(2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r91": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(1))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r910": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(b)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r911": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)(1)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r912": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(c)(2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r913": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Subparagraph": "(e)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958568-112826"
  },
  "r914": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958569-112826"
  },
  "r915": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958570-112826"
  },
  "r916": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1D",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958573-112826"
  },
  "r917": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1F",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "505",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=117337116&loc=SL5958575-112826"
  },
  "r918": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Subparagraph": "(b)(2)",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123345438&loc=d3e61044-112788"
  },
  "r919": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123345438&loc=d3e61044-112788"
  },
  "r92": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(10))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r920": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "825",
   "Topic": "942",
   "URI": "http://asc.fasb.org/extlink&oid=123345438&loc=d3e61082-112788"
  },
  "r921": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(15)(b)(2))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r922": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r923": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(1)(b))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r924": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(10))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r925": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(12))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r926": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(15)(5))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r927": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(16))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r928": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r929": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(23)(a)(4))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r93": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(20))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r930": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(25))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r931": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(3))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r932": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03(a)(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r933": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.(a),19)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r934": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.15(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r935": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "210",
   "Subparagraph": "(SX 210.7-03.16)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
  },
  "r936": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(18))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r937": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(19))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r938": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(22))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r939": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(23))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r94": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(21))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r940": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(b))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r941": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(3)(d))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r942": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(8))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r943": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04(9))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r944": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "220",
   "Subparagraph": "(SX 210.7-04.3(a))",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r945": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
  },
  "r946": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7A",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "40",
   "Subparagraph": "(d)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124506351&loc=SL117782755-158439"
  },
  "r947": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r948": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "13H",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117783719-158441"
  },
  "r949": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "29F",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "40",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124504033&loc=SL117819544-158441"
  },
  "r95": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(24))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r950": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(a)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r951": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(b)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r952": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r953": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r954": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(f)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r955": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r956": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(i)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r957": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(ii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r958": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iii)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r959": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(g)(2)(iv)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r96": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(25))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r960": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(1)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r961": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "40",
   "Subparagraph": "(h)(2)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124501264&loc=SL117420844-207641"
  },
  "r962": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "80",
   "Subparagraph": "(e)",
   "Topic": "944",
   "URI": "http://asc.fasb.org/extlink&oid=124508989&loc=d3e19393-158473"
  },
  "r963": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "20",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=118262064&loc=SL116631418-115840"
  },
  "r964": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=118262064&loc=SL116631419-115840"
  },
  "r965": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611133-123010"
  },
  "r966": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r967": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r968": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column B)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r969": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r97": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(7)(c))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r970": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r971": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column C)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r972": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 1))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r973": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 6))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r974": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B(Column D)(Footnote 7))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r975": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-12B)",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611197-123010"
  },
  "r976": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column B)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r977": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "5D",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-13D(Column C)(Footnote 2))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=SL120429264-123010"
  },
  "r978": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column A))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r979": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column B))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r98": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(8))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r980": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column C))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r981": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "320",
   "Subparagraph": "(SX 210.12-15(Column D))",
   "Topic": "946",
   "URI": "http://asc.fasb.org/extlink&oid=122147990&loc=d3e611379-123010"
  },
  "r982": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r983": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "310",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=124265262&loc=d3e48678-111004"
  },
  "r984": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "310",
   "Subparagraph": "(SX 210.12-29(Footnote 4))",
   "Topic": "948",
   "URI": "http://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
  },
  "r985": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4",
   "Publisher": "FASB",
   "Section": "45",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=120413173&loc=SL6242262-115580"
  },
  "r986": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "210",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=120413209&loc=SL6242269-115581"
  },
  "r987": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "440",
   "Subparagraph": "(a)",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491277&loc=d3e6429-115629"
  },
  "r988": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "450",
   "Topic": "954",
   "URI": "http://asc.fasb.org/extlink&oid=6491354&loc=d3e6049-115624"
  },
  "r989": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Subparagraph": "(d)",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99779-112916"
  },
  "r99": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.5-03(9)(a))",
   "Topic": "220",
   "URI": "http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227"
  },
  "r990": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "6",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=d3e99893-112916"
  },
  "r991": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "7",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "360",
   "Topic": "958",
   "URI": "http://asc.fasb.org/extlink&oid=120429125&loc=SL120174063-112916"
  },
  "r992": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column B))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r993": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column C))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r994": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column D))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r995": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column E))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r996": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column F))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r997": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column G))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r998": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column H))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  },
  "r999": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "360",
   "Subparagraph": "(SX 210.12-28(Column I))",
   "Topic": "970",
   "URI": "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
  }
 },
 "version": "2.1"
}
