{
 "instance": {
  "by-20220630.htm": {
   "axisCustom": 0,
   "axisStandard": 37,
   "contextCount": 752,
   "dts": {
    "calculationLink": {
     "local": [
      "by-20220630_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "by-20220630_def.xml"
     ]
    },
    "inline": {
     "local": [
      "by-20220630.htm"
     ]
    },
    "labelLink": {
     "local": [
      "by-20220630_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "by-20220630_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "by-20220630.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"
     ]
    }
   },
   "elementCount": 926,
   "entityCount": 1,
   "hidden": {
    "http://fasb.org/us-gaap/2021-01-31": 5,
    "http://xbrl.sec.gov/dei/2021q4": 4,
    "total": 9
   },
   "keyCustom": 126,
   "keyStandard": 437,
   "memberCustom": 53,
   "memberStandard": 73,
   "nsprefix": "by",
   "nsuri": "http://www.bylinebank.com/20220630",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation",
     "shortName": "Document And Entity Information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100140 - Disclosure - Accounting Pronouncements Recently Adopted or Issued",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssued",
     "shortName": "Accounting Pronouncements Recently Adopted or Issued",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101040 - Disclosure - Derivative Instruments and Hedge Activities - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_449294d5-856a-4984-b2de-bcfcd2a41fe0",
      "decimals": "0",
      "lang": null,
      "name": "by:DerivativeInstrumentsTransactionFees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101050 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Cash Flow Hedges (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/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-20220630.htm",
      "contextRef": "C_abc64ff4-387b-4b51-ad6d-2fefbeb29bd6",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101060 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Net Gains (Losses) Recorded in Accumulated Other Comprehensive Income (Loss) and Consolidated Statements of Operations (Details)",
     "role": "http://www.bylinebank.com/20220630/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 (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_19207557-38df-4feb-9e80-f213596d119a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101070 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Other Interest Rate Derivatives (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_6b024f96-5c12-4e8f-bf1a-8baf5da0a08e",
      "decimals": null,
      "lang": "en-US",
      "name": "us-gaap:DerivativeAverageRemainingMaturity1",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101080 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
     "shortName": "Derivative Instruments and Hedge Activities - Summary of Amounts Included in Non-Interest Income in Consolidated Statements of Operations (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101090 - Disclosure - Derivative Instruments and Hedge Activities - Summary of Company's Interest Rate Derivative and Offsetting Positions (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeAssetFairValueGrossLiability",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101100 - Disclosure - Share-Based Compensation - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_a6854457-0a08-4c0f-88c6-71dd8f6a8457",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_fb87779e-93fd-4673-89b8-9ec89aad7b77",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101110 - Disclosure - Share-Based Compensation - Summary of Changes in Restricted Shares (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_18a24ef1-9afa-41df-8413-034c2d9826fa",
      "decimals": "0",
      "lang": null,
      "name": "by:ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101120 - Disclosure - Share-Based Compensation - Summary of Stock Compensation Expense (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
     "shortName": "Share-Based Compensation - Summary of Stock Compensation Expense (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_ece95cef-a615-481d-9869-64143631d5ba",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllocatedShareBasedCompensationExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_b3d1d3bc-a775-4f6a-9614-064218fa6bda",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101130 - Disclosure - Share-Based Compensation - Summary Activity in shares Subjected to Options and Weighted Average Exercise Prices (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_73f37ede-8c45-474a-8520-7beb97351eef",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100150 - Disclosure - Securities",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecurities",
     "shortName": "Securities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "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:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "reportCount": 1,
      "unitRef": "U_shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101140 - Disclosure - Earnings per Share - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_cb5719ab-05d2-43af-9d27-7ab7eac1eed5",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:WeightedAverageNumberOfSharesOutstandingBasic",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101150 - Disclosure - Earnings per Share - Schedule of Calculation of Basic and Diluted Earnings per Share (Details)",
     "role": "http://www.bylinebank.com/20220630/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",
       "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "0",
      "lang": null,
      "name": "us-gaap:IncrementalCommonSharesAttributableToShareBasedPaymentArrangements",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfStockByClassTextBlock",
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101160 - Disclosure - Stockholders' Equity - Summary of Preferred and Common Stock (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:PreferredStockParOrStatedValuePerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PaymentsOfDividendsPreferredStockAndPreferenceStock",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101170 - Disclosure - Stockholders' Equity - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
     "shortName": "Stockholders' Equity - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_de7a8324-da17-4da9-a32a-9f503829fc2b",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:StockRepurchaseProgramNumberOfSharesAuthorizedToBeRepurchased",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_shares",
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101180 - Disclosure - Consolidated Statements of Change in Accumulated Other Comprehensive Income (Loss) - Schedule of Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
     "shortName": "Consolidated Statements of Change 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-20220630.htm",
      "contextRef": "C_ac3b99d7-c2d3-4a14-87d6-06e4efb6f729",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100160 - Disclosure - Loan and Lease Receivables",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivables",
     "shortName": "Loan and Lease Receivables",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100170 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitments",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100180 - Disclosure - Servicing Assets",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssets",
     "shortName": "Servicing Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100190 - Disclosure - Other Real Estate Owned",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwned",
     "shortName": "Other Real Estate Owned",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:RealEstateOwnedTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100200 - Disclosure - Leases",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeases",
     "shortName": "Leases",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:LesseeOperatingLeasesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100210 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssets",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100220 - Disclosure - Income Taxes",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxes",
     "shortName": "Income Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:IncomeTaxDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100230 - Disclosure - Deposits",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDeposits",
     "shortName": "Deposits",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100010 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:OtherLiabilitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100240 - Disclosure - Other Borrowings",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowings",
     "shortName": "Other Borrowings",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100250 - Disclosure - Subordinated Notes and Junior Subordinated Debentures",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebentures",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100260 - Disclosure - Commitments and Contingent Liabilities",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilities",
     "shortName": "Commitments and Contingent Liabilities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100270 - Disclosure - Fair Value Measurement",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurement",
     "shortName": "Fair Value Measurement",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:FairValueDisclosuresTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100280 - Disclosure - Derivative Instruments and Hedge Activities",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivities",
     "shortName": "Derivative Instruments and Hedge Activities",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100290 - Disclosure - Share-Based Compensation",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensation",
     "shortName": "Share-Based Compensation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100300 - Disclosure - Earnings per Share",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureEarningsPerShare",
     "shortName": "Earnings per Share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:EarningsPerShareTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100310 - Disclosure - Stockholders' Equity",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquity",
     "shortName": "Stockholders' Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100320 - Disclosure - Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLoss",
     "shortName": "Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ComprehensiveIncomeNoteTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100330 - Disclosure - Basis of Presentation (Policies)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationPolicies",
     "shortName": "Basis of Presentation (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesFairValue",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100040 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED) (Parenthetical)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF FINANCIAL CONDITION (UNAUDITED) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": null
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100340 - Disclosure - Securities (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesTables",
     "shortName": "Securities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:SummaryInvestmentHoldingsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100350 - Disclosure - Loan and Lease Receivables (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesTables",
     "shortName": "Loan and Lease Receivables (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100360 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments (Tables)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100370 - Disclosure - Servicing Assets (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsTables",
     "shortName": "Servicing Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100380 - Disclosure - Other Real Estate Owned (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedTables",
     "shortName": "Other Real Estate Owned (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100390 - Disclosure - Leases (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesTables",
     "shortName": "Leases (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100400 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets (Tables)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100410 - Disclosure - Deposits (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsTables",
     "shortName": "Deposits (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfDepositsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100420 - Disclosure - Other Borrowings (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsTables",
     "shortName": "Other Borrowings (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfDebtTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100430 - Disclosure - Subordinated Notes and Junior Subordinated Debentures (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesTables",
     "shortName": "Subordinated Notes and Junior Subordinated Debentures (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:InterestAndFeeIncomeLoansAndLeases",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100070 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "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:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100440 - Disclosure - Commitments and Contingent Liabilities (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesTables",
     "shortName": "Commitments and Contingent Liabilities (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100450 - Disclosure - Fair Value Measurement (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementTables",
     "shortName": "Fair Value Measurement (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100460 - Disclosure - Derivative Instruments and Hedge Activities (Tables)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100470 - Disclosure - Share-Based Compensation (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables",
     "shortName": "Share-Based Compensation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100480 - Disclosure - Earnings per Share (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureEarningsPerShareTables",
     "shortName": "Earnings per Share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:EarningsPerShareTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100490 - Disclosure - Stockholders' Equity (Tables)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables",
     "shortName": "Stockholders' Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfStockByClassTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "us-gaap:ComprehensiveIncomeNoteTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100500 - Disclosure - Consolidated Statements of Changes in Accumulated Other Comprehensive Income (Loss) (Tables)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Segment",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100510 - Disclosure - Basis of Presentation - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
     "shortName": "Basis of Presentation - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
       "div",
       "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:NumberOfReportableSegments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Segment",
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseLiability",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100520 - Disclosure - Accounting Pronouncements Recently Adopted or Issued - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
     "shortName": "Accounting Pronouncements Recently Adopted or Issued - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:NewAccountingPronouncementsPolicyPolicyTextBlock",
       "div",
       "us-gaap:NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_89581ae2-b3cc-4b01-bfd4-6a9b72f03117",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:SummaryInvestmentHoldingsTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100530 - Disclosure - Securities - Summary of Amortized Cost and Fair Values of Securities Available-for-sale (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100090 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (UNAUDITED)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS) (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecurities",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100540 - Disclosure - Securities - Summary of Amortized Cost and Fair Values of Securities Held-to-maturity (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TradingSecurities",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100550 - Disclosure - Securities - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
     "shortName": "Securities - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "us-gaap:OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
       "span",
       "p",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Security",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100560 - 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/20220630/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "us-gaap:DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Security",
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealizedGainLossTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100570 - Disclosure - Securities - Summary of Proceeds From Sales of Securities Available-for-sale and Associated Gains and Losses (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails",
     "shortName": "Securities - Summary of Proceeds From Sales 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-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:InvestmentsClassifiedByContractualMaturityDateTableTextBlock",
       "div",
       "us-gaap:InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100580 - Disclosure - Securities - Schedule of Amortized Cost and Fair Value of Debt Securities by Contractual Maturity (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100590 - Disclosure - Loan and Lease Receivables - Schedule of Outstanding Loan and Lease Receivables (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
     "shortName": "Loan 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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableDeferredIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableBeforeFeesGross",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100600 - Disclosure - Loan and Lease Receivables - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
     "shortName": "Loan and Lease Receivables - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-8",
      "lang": null,
      "name": "us-gaap:LoansPledgedAsCollateral",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfFinancingReceivablesMinimumPaymentsTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100610 - Disclosure - Loan and Lease Receivables - Summary of Minimum Annual Lease Payments for Lease Financing Receivables (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails",
     "shortName": "Loan 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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100620 - Disclosure - Loan and Lease Receivables - Summary of Balances for Each Respective Loan and Lease Category (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
     "shortName": "Loan 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-20220630.htm",
      "contextRef": "C_954f86e8-de5b-4c12-8559-fa610e354fe4",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_7d3d3210-7bca-48da-bb49-6ba691939d06",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100630 - Disclosure - Loan and Lease Receivables - Summary of Outstanding Balance and Carrying Amount of All Acquired Impaired Loans (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails",
     "shortName": "Loan 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",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_7d3d3210-7bca-48da-bb49-6ba691939d06",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3db18fc7-3dcd-4da7-b63f-8c83ec9dd0bd",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:StockholdersEquity",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100100 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_d5187de4-7045-43bf-912b-7f7f061fc58d",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangesInAccretableYieldForAcquiredImpairmentLoansTableTextBlock",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100640 - Disclosure - Loan and Lease Receivables - Summary of Changes in Accretable Yield for Acquired Impaired Loans (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails",
     "shortName": "Loan 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-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100650 - Disclosure - Loan and Lease Receivables - Schedule of Unpaid Principal Balance and Carrying Value for Acquired Non-impaired Loans and Leases (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
     "shortName": "Loan 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",
       "ix:continuation",
       "div",
       "us-gaap:LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f018ae97-653e-4bd5-aaff-c413fee8b5ee",
      "decimals": "-3",
      "lang": null,
      "name": "by:LoansAndLeasesReceivableUnpaidPrincipalBalance",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:AllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableAllowance",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100660 - 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/20220630/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-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesWriteOffs",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100670 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-5",
      "first": true,
      "lang": null,
      "name": "us-gaap:AllowanceForLoanAndLeaseLossesPeriodIncreaseDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ImpairedFinancingReceivablesTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_b757eeb2-8a17-4079-8943-3250eaa48c00",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100680 - 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/20220630/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-20220630.htm",
      "contextRef": "C_b757eeb2-8a17-4079-8943-3250eaa48c00",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForImpairedLoansTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_32abd0c2-642c-4109-8b24-5088d5f09090",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableAverageRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100690 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Average Recorded Investment and Interest Income Recognized for Loans and Leases Considered Impaired (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
     "shortName": "Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Average Recorded Investment and Interest Income Recognized for Loans and Leases Considered Impaired (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForImpairedLoansTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_32abd0c2-642c-4109-8b24-5088d5f09090",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ImpairedFinancingReceivableAverageRecordedInvestment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100700 - 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/20220630/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-20220630.htm",
      "contextRef": "C_8af128fb-7106-490d-9f30-5d5fd73636c1",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableGrossCarryingAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100710 - Disclosure - Allowance for Loan and Lease Losses and Reserve for Unfunded Commitments - Summary of Contractual Delinquency Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_b757eeb2-8a17-4079-8943-3250eaa48c00",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:FinancingReceivableRecordedInvestmentNonaccrualStatus",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Loan",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100720 - 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/20220630/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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "us-gaap:FinancingReceivableModificationsNumberOfContracts2",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_Loan",
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfLoansModifiedAsTroubledDebtRestructuringsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FinancingReceivableModificationsRecordedInvestmentAccruing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100730 - 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/20220630/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-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:FinancingReceivableModificationsRecordedInvestmentAccruing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100110 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CHANGES IN STOCKHOLDERS' EQUITY (UNAUDITED) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "us-gaap:CommonStockDividendsPerShareDeclared",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_UnitedStatesOfAmericaDollarsShare",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfChangeInBalanceForReserveForUnfundedCommitmentsTableTextBlock",
       "div",
       "by:AllowanceForLoanAndLeasesAndReserveForUnfundedCommitmentsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:ReserveForUnfundedCommitments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100740 - 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/20220630/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-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:ReserveForUnfundedCommitments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100750 - Disclosure - Servicing Assets - Activity for Servicing Assets and Related Changes in Fair Value (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueAdditions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrincipalAmountOutstandingOfLoansHeldInPortfolio",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100760 - Disclosure - Servicing Assets - Unpaid Principal Balances of Loans Serviced for Others (Details)",
     "role": "http://www.bylinebank.com/20220630/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",
       "by:SummaryOfUnpaidPrincipalBalancesOfLoansServicedForOthersTableTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:PrincipalAmountOutstandingOfLoansHeldInPortfolio",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfServicingAssetsAtFairValueTextBlock",
       "div",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100770 - Disclosure - Servicing Assets - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
     "shortName": "Servicing Assets - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:TransfersAndServicingOfFinancialAssetsTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_82c70e2a-58f7-42e4-9b30-55f36685ec73",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:RevenueFromContractWithCustomerIncludingAssessedTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100780 - Disclosure - Other Real Estate Owned - Change in Other Real Estate Owned (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:SecuritiesReceivedAsCollateralAmountForeclosed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfRealEstatePropertiesTableTextBlock",
       "div",
       "us-gaap:RealEstateOwnedTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OtherRealEstateAndForeclosedAssets",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100790 - Disclosure - Other Real Estate Owned - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_4c29e12d-be30-4d77-8b2b-d2662ddea897",
      "decimals": "-5",
      "lang": null,
      "name": "us-gaap:MortgageLoansInProcessOfForeclosureAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100800 - Disclosure - Leases - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails",
     "shortName": "Leases - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:LessorOperatingLeaseMaturityYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseLiability",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100810 - Disclosure - Leases - Schedule of Operating Lease Right-of-use Asset and Liability (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails",
     "shortName": "Leases - Schedule of Operating Lease Right-of-use Asset and Liability (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_e28dd43d-16e1-4f71-a7d6-1e2d24939db2",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:OperatingLeaseRightOfUseAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LeaseCostTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100820 - Disclosure - Leases - Summary of Lease Costs and Company's Operating Leases (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_8d2d8721-2179-432d-8455-757cdee9b06a",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:OperatingLeaseCost",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:LesseeOperatingLeaseLiabilityMaturityTableTextBlock",
       "div",
       "us-gaap:LesseeOperatingLeasesTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100830 - Disclosure - Leases - Schedule of Future Minimum Lease Payments for Operating Leases (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NetIncomeLoss",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "100120 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
     "shortName": "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (UNAUDITED)",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DepreciationAmortizationAndAccretionNet",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100840 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets - Summary of Changes in Goodwill, Core Deposit Intangible Assets and Customer Relationship Intangible Assets (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets - Summary of Changes in Goodwill, Core Deposit Intangible Assets and Customer Relationship Intangible Assets (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f51a19ba-1970-4f82-9526-33e0322c1738",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:Goodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100850 - Disclosure - Goodwill, Core Deposit Intangible and Other Intangible Assets - Estimated Amortization Expense for Core Deposit Intangible and Customer Relationship Intangible Recognized (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails",
     "shortName": "Goodwill, Core Deposit Intangible and Other Intangible Assets - Estimated Amortization Expense for Core Deposit Intangible and Customer Relationship Intangible Recognized (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock",
       "div",
       "us-gaap:GoodwillAndIntangibleAssetsDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100860 - Disclosure - Income Taxes - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails",
     "shortName": "Income Taxes - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:IncomeTaxDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "us-gaap:EffectiveIncomeTaxRateContinuingOperations",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_pure",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:NoninterestBearingDomesticDepositDemand",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100870 - Disclosure - Deposits - Composition of Deposits (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
     "shortName": "Deposits - Composition of Deposits (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfDepositsTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:InterestBearingDomesticDepositChecking",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:TimeDepositMaturitiesTableTextBlock",
       "div",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100880 - Disclosure - Deposits - Scheduled maturity of time deposits (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails",
     "shortName": "Deposits - Scheduled maturity 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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDepositMaturitiesYearOne",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100890 - Disclosure - Deposits - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails",
     "shortName": "Deposits - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:DepositLiabilitiesDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:TimeDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:ScheduleOfDebtTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AdvancesFromFederalHomeLoanBanks",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100900 - Disclosure - Other Borrowings - Summary of Other Borrowings (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
     "shortName": "Other Borrowings - Summary of Other Borrowings (Details)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:FederalReserveBankDiscountWindowBorrowing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100910 - Disclosure - Other Borrowings - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
     "shortName": "Other Borrowings - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:FederalReserveBankDiscountWindowBorrowing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfShortTermDebtAvailableForUseTableTextBlock",
       "div",
       "us-gaap:OtherLiabilitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_2b9fea43-bbdd-4680-b9ce-053875b40e3c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100920 - Disclosure - Other Borrowings - Summary of Short-term Credit Lines Available for Use (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_2b9fea43-bbdd-4680-b9ce-053875b40e3c",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:ShortTermLinesOfCreditAvailableForUse",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100930 - Disclosure - Subordinated Notes and Junior Subordinated Debentures - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_dd868ec7-95ee-43d2-955d-1c6a794507b6",
      "decimals": "INF",
      "lang": null,
      "name": "us-gaap:DebtInstrumentFaceAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100130 - Disclosure - Basis of Presentation",
     "role": "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentation",
     "shortName": "Basis of Presentation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTableTextBlock",
       "div",
       "by:SubordinatedNotesAndJuniorSubordinatedDebtOwedToUnconsolidatedSubsidiaryTrustTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "by:JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100940 - Disclosure - Subordinated Notes and Junior Subordinated Debentures - Junior Subordinated Debentures by Issuance (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_44fafaa1-cffd-4052-90b5-aeb2c40005ab",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DebtInstrumentUnamortizedDiscount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "by:ScheduleOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsTableTextBlock",
       "div",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100950 - Disclosure - Commitments and Contingent Liabilities - Summary of Contract or Notional Amount of Outstanding Loan and Lease Commitments (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:LoansAndLeasesReceivableCommitmentsFixedRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:FixedRateLoanCommitmentsMaturitiesEndingYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100960 - Disclosure - Commitments and Contingent Liabilities - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_3adabd36-001b-4263-bfc4-eb438365f113",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:FixedRateLoanCommitmentsMaturitiesEndingYear",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AvailableForSaleSecuritiesDebtSecurities",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100970 - Disclosure - Fair Value Measurement - Summary of Financial Assets and Liabilities Measured at Fair Value on Recurring Basis (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_3a09fdf8-0780-496f-9524-f032fd8e6a8c",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:ServicingAssetAtFairValueAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:FairValueAssetsToOrFromLevelThreeTransfersAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100980 - Disclosure - Fair Value Measurement - Additional Information (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "INF",
      "first": true,
      "lang": null,
      "name": "by:FairValueAssetsToOrFromLevelThreeTransfersAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_f6a8309a-2604-44f0-ac44-5b8843697b0f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "100990 - 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/20220630/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-20220630.htm",
      "contextRef": "C_f6a8309a-2604-44f0-ac44-5b8843697b0f",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "us-gaap:FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_395e7178-b210-43a3-b0e1-1b3a758b2f64",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101000 - Disclosure - Fair Value Measurement - Summary of Unobservable Inputs Used in the Fair Value Measurements on Recurring Basis (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_395e7178-b210-43a3-b0e1-1b3a758b2f64",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "by:FairValueMeasurementChangeInValuationOfInputValueDescription",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:FairValueDisclosuresTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_ec407478-281c-4f43-963a-f1dced86eea5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101010 - 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/20220630/taxonomy/role/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-20220630.htm",
      "contextRef": "C_ec407478-281c-4f43-963a-f1dced86eea5",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:AssetsFairValueDisclosure",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101020 - Disclosure - Fair Value Measurement - Summary of Estimated Fair Values of Financial Instruments (Details)",
     "role": "http://www.bylinebank.com/20220630/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-20220630.htm",
      "contextRef": "C_ffafd652-ccd6-409a-bb35-9ee20a7dd20d",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:CashAndDueFromBanks",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "table",
       "ix:continuation",
       "div",
       "us-gaap:DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock",
       "div",
       "body",
       "html"
      ],
      "baseRef": "by-20220630.htm",
      "contextRef": "C_c8012285-3bcc-450b-8419-18e036a91c62",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "us-gaap:DerivativeNotionalAmount",
      "reportCount": 1,
      "unitRef": "U_USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "101030 - 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/20220630/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-20220630.htm",
      "contextRef": "C_2dc10398-d9cb-4c06-a606-3cce916fb774",
      "decimals": "-3",
      "lang": null,
      "name": "us-gaap:DerivativeFairValueOfDerivativeAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "U_USD",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 128,
   "tag": {
    "by_ATMAndInterchangeFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 0.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AccretionOfPremiumsAndDiscountsOnAcquiredLoansNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 11.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AccruedInterestPayableAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued interest payable and other liabilities.",
        "label": "Accrued Interest Payable And Other Liabilities",
        "terseLabel": "Accrued interest payable and other liabilities"
       }
      }
     },
     "localname": "AccruedInterestPayableAndOtherLiabilities",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_AccruedInterestPayableAndOtherLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued interest payable and other liabilities.",
        "label": "Accrued Interest Payable And Other Liabilities [Member]",
        "terseLabel": "Accrued Interest Payable and Other Liabilities"
       }
      }
     },
     "localname": "AccruedInterestPayableAndOtherLiabilitiesMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AccruedInterestReceivableAndOtherAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accrued interest receivable and other assets.",
        "label": "Accrued Interest Receivable And Other Assets [Member]",
        "terseLabel": "Accrued Interest Receivable and Other Assets"
       }
      }
     },
     "localname": "AccruedInterestReceivableAndOtherAssetsMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AccruingLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accruing loans.",
        "label": "Accruing Loans [Member]",
        "terseLabel": "Accruing"
       }
      }
     },
     "localname": "AccruingLoansMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AcquiredNonImpairedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquired non-impaired loans.",
        "label": "Acquired Non Impaired Loans [Member]",
        "terseLabel": "Acquired Non-Impaired",
        "verboseLabel": "Acquired Non-impaired Loans and Leases"
       }
      }
     },
     "localname": "AcquiredNonImpairedLoansMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_AdjustmentsToAdditionalPaidInCapitalIssuanceCostOfBusinessCombination": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments to additional paid in capital, issuance cost of business combination.",
        "label": "Adjustments To Additional Paid In Capital Issuance Cost Of Business Combination",
        "terseLabel": "Issuance cost in connection with business combination"
       }
      }
     },
     "localname": "AdjustmentsToAdditionalPaidInCapitalIssuanceCostOfBusinessCombination",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20220630/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"
       }
      }
     },
     "localname": "BusinessAcquisitionCommonStockValuePerShareOutstanding",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "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"
       }
      }
     },
     "localname": "BusinessCombinationRightToReceiveCommonStockUponConversion",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_CapitalLeasesNetInvestmentInDirectFinancingLeasesExcludingInitialDirectCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_CounterpartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Counterparties.",
        "label": "Counterparties [Member]",
        "terseLabel": "Counterparties"
       }
      }
     },
     "localname": "CounterpartiesMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_DerivativeLiabilityFairValueOffsetAgainstCollateralNetCreditExposureOfNotSubjectToMasterNettingArrangementPolicyElection": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_EquityAndOtherSecuritiesAtFairValue": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 2.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FairValueAssetsToOrFromLevelThreeTransfersAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value assets to or from level three transfers amount.",
        "label": "Fair Value Assets To Or From Level Three Transfers Amount",
        "terseLabel": "Fair value, assets, to or from level 3 transfers, amount"
       }
      }
     },
     "localname": "FairValueAssetsToOrFromLevelThreeTransfersAmount",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementAdditionalInformationDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "by_FairValueLiabilitiesToOrFromLevelThreeTransfersAmount": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value liabilities to or from level three transfers amount.",
        "label": "Fair Value Liabilities To Or From Level Three Transfers Amount",
        "terseLabel": "Fair value, liabilities, to or from level 3 transfers, amount"
       }
      }
     },
     "localname": "FairValueLiabilitiesToOrFromLevelThreeTransfersAmount",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FederalFundPurchaseInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Federal fund purchase interest rate.",
        "label": "Federal Fund Purchase Interest Rate",
        "terseLabel": "Federal fund purchase interest rate"
       }
      }
     },
     "localname": "FederalFundPurchaseInterestRate",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FeesAndServiceChargesOnDeposits": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 1.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",
        "terseLabel": "Fees and service charges on deposits"
       }
      }
     },
     "localname": "FeesAndServiceChargesOnDeposits",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivable": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInDueThereafter": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInFourYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInNextTwelveMonths": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInThreeYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableInTwoYears": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinanceLeasesFutureMinimumPaymentsReceivableRemainderOfFiscalYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfMinimumAnnualLeasePaymentsForLeaseFinancingReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableAllowanceForLoansAndLeasesAcquiredDeterioratedCreditQuality": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableAllowanceForLoansAndLossesCollectivelyEvaluatedForImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableAllowanceForLoansAndLossesIndividuallyEvaluatedForImpairment": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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 accrual"
       }
      }
     },
     "localname": "FinancingReceivableModificationNetTransfersFromToAccrual",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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 from non-accrual"
       }
      }
     },
     "localname": "FinancingReceivableModificationNetTransfersFromToNonAccrual",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsRecordedInvestmentAccruing": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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, accruing.",
        "label": "Financing Receivable Modifications Recorded Investment Accruing",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestmentAccruing",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_FinancingReceivableModificationsRecordedInvestmentNonAccruing": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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, non-accruing.",
        "label": "Financing Receivable Modifications Recorded Investment Non Accruing",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "FinancingReceivableModificationsRecordedInvestmentNonAccruing",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedInterestRateSwapSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed interest rate swap six.",
        "label": "Fixed Interest Rate Swap Six [Member]",
        "terseLabel": "Fixed Interest Rate Swaps Effective in June 2023"
       }
      }
     },
     "localname": "FixedInterestRateSwapSixMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_FixedInterestsRateSwapFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fixed Interests Rate Swap Five [Member]",
        "label": "Fixed Interests Rate Swap Five [Member]",
        "terseLabel": "Fixed Interest Rate Swaps Effective in September 2023"
       }
      }
     },
     "localname": "FixedInterestsRateSwapFiveMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "gYearItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_GainsLossesOnSalesOfOtherRealEstateAndOtherRelatedExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 6.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_Heldtomaturitysecuritiescontinuousunrealizedlosspositionnumberofpositions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Held to maturity securities continuous unrealized loss position number of positions.",
        "label": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionNumberOfPositions",
        "terseLabel": "Held to maturity securities continuous unrealized loss position number of positions"
       }
      }
     },
     "localname": "Heldtomaturitysecuritiescontinuousunrealizedlosspositionnumberofpositions",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "by_IncreaseDecreaseInAccruedInterestPayableAndOtherLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 21.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_IncreaseDecreaseInAccruedInterestReceivableAndOtherAssetsNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 20.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_InterestBearingDomesticDepositMoneyMarketAndDemandAccounts": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InterestBearingDomesticDepositOtherSavings": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InterestExpenseOtherBorrowings": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_InvestmentInBankOwnedLifeInsurance": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 11.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrustIncludingUnamortizedDiscount": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_LegalAuditAndOtherProfessionalFees": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 4.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "order": 5.0,
       "parentTag": "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Lessee operating lease liability payments due after year four.",
        "label": "Lessee Operating Lease Liability Payments Due After Year Four",
        "terseLabel": "Thereafter"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "by_LoanAndLeaseRelatedExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 3.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "by_LoanServicingAssetRevaluation": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NoninterestIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Loan servicing asset revaluation.",
        "label": "Loan Servicing Asset Revaluation",
        "terseLabel": "Loan servicing asset revaluation"
       }
      }
     },
     "localname": "LoanServicingAssetRevaluation",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LoanServicingRevenueNonInterestIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 2.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",
        "terseLabel": "Loan servicing revenue non interest income"
       }
      }
     },
     "localname": "LoanServicingRevenueNonInterestIncome",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_LoansAndLeasesReceivableCommitmentsFixedAndVariableRates": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NetChangeInFairValueOfEquitySecurities": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 5.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"
       }
      }
     },
     "localname": "NetChangeInFairValueOfEquitySecurities",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NetChangeInServicingAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 12.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NetLossDeductionOnTaxableIncome": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net loss deduction on taxable income.",
        "label": "Net Loss Deduction on Taxable Income"
       }
      }
     },
     "localname": "NetLossDeductionOnTaxableIncome",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_NetLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 13.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 (gains) on sales and valuation adjustments of other real estate owned"
       }
      }
     },
     "localname": "NetLossesOnSalesAndValuationAdjustmentsOfOtherRealEstateOwned",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_NonInterestRelatedIncomeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Non-Interest Income.",
        "label": "Non Interest Related Income [Member]",
        "terseLabel": "Non-Interest Income"
       }
      }
     },
     "localname": "NonInterestRelatedIncomeMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "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 [Member]"
       }
      }
     },
     "localname": "OakParkRiverForestBanksharesIncMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_OccupancyAndEquipmentExpenseNet": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NoninterestExpense",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Occupancy and equipment expense, net",
        "label": "Occupancy And Equipment Expense Net",
        "terseLabel": "Occupancy and equipment expense, net"
       }
      }
     },
     "localname": "OccupancyAndEquipmentExpenseNet",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "by_OriginatedLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Originated loans.",
        "label": "Originated Loans [Member]",
        "terseLabel": "Originated"
       }
      }
     },
     "localname": "OriginatedLoansMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_OtherSecuritiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Other Securities [Member]",
        "label": "Other Securities [Member]",
        "terseLabel": "Other Securities"
       }
      }
     },
     "localname": "OtherSecuritiesMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_PaycheckProtectionProgramLiquidityFacility": {
     "auth_ref": [],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "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"
       }
      }
     },
     "localname": "PaycheckProtectionProgramPortfolioSegmentMember",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_PaymentsForOriginationsOfUSGovernmentGuaranteedLoans": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 9.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_PercentageOfGuaranteeOnSmallBusinessAdministration": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of guarantee on small business administration.",
        "label": "Percentage Of Guarantee On Small Business Administration",
        "terseLabel": "Percentage of guarantee on SBA"
       }
      }
     },
     "localname": "PercentageOfGuaranteeOnSmallBusinessAdministration",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromPaycheckProtectionProgramLiquidityFacilityAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from paycheck protection program liquidity facility advances.",
        "label": "Proceeds From Paycheck Protection Program Liquidity Facility Advances",
        "terseLabel": "Proceeds from Paycheck Protection Program Liquidity Facility (\"PPPLF\") advances"
       }
      }
     },
     "localname": "ProceedsFromPaycheckProtectionProgramLiquidityFacilityAdvances",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromPaydownsOfSecuritiesAvailableForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromSalesOfAssetsHeldForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 9.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromSalesOfSecuritiesAvailableForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 3.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Proceeds from sales of securities available for sale",
        "label": "Proceeds From Sales Of Securities Available For Sale",
        "terseLabel": "Proceeds from sales of securities available-for-sale"
       }
      }
     },
     "localname": "ProceedsFromSalesOfSecuritiesAvailableForSale",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ProceedsFromUSGovernmentGuaranteedLoansSold": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 10.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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_RepaymentsOfPaycheckProtectionProgramLiquidityFacilityAdvances": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 4.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Repayments of paycheck protection program liquidity facility advances.",
        "label": "Repayments Of Paycheck Protection Program Liquidity Facility Advances",
        "negatedLabel": "Repayments of PPPLF advances"
       }
      }
     },
     "localname": "RepaymentsOfPaycheckProtectionProgramLiquidityFacilityAdvances",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfChangeInBalanceForReserveForUnfundedCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ReturnOfCommonStockInConnectionWithEmployeeStockPurchasePlan": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return of common stock in connection with employee stock purchase plan.",
        "label": "Return of Common Stock in Connection With Employee Stock Purchase Plan",
        "terseLabel": "Return of common stock in connection with employee stock purchase plan",
        "verboseLabel": "Return of common stock in connection with employee stock purchase plan"
       }
      }
     },
     "localname": "ReturnOfCommonStockInConnectionWithEmployeeStockPurchasePlan",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_ReturnOfCommonStockInConnectionWithEmployeeStockPurchasePlanShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Return of common stock in connection with employee stock purchase plan, Shares.",
        "label": "Return of Common Stock in Connection With Employee Stock Purchase Plan, Shares",
        "verboseLabel": "Return of common stock in connection with employee stock purchase plan, Shares"
       }
      }
     },
     "localname": "ReturnOfCommonStockInConnectionWithEmployeeStockPurchasePlanShares",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesTables"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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": "Composition of Deposits"
       }
      }
     },
     "localname": "ScheduleOfDepositsTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule of operating lease right-of-use asset and liability.",
        "label": "Schedule Of Operating Lease Right Of Use Asset And Liability Table [Text Block]",
        "terseLabel": "Schedule of Operating Lease Right-of-use Asset and Liability"
       }
      }
     },
     "localname": "ScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesTables"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "by_ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share based compensation arrangement by share based payment award incremental performance shares vested.",
        "label": "Share Based Compensation Arrangement by Share Based Payment Award Incremental Performance Shares Vested",
        "terseLabel": "Incremental performance shares vested"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardIncrementalPerformanceSharesVested",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebentures"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_SummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForImpairedLoansTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of average recorded investment and interest income recognized for impaired loans.",
        "label": "Summary Of Average Recorded Investment And Interest Income Recognized For Impaired Loans Table [Text Block]",
        "terseLabel": "Summary of Average Recorded Investment and Interest Income Recognized for Loans and Leases Considered Impaired"
       }
      }
     },
     "localname": "SummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForImpairedLoansTableTextBlock",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesTables"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesTables"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "by_TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToExerciseOfStockOptions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax cuts and jobs act of 2017 incomplete accounting provisional income tax expense (benefit) related to exercise of stock options.",
        "label": "Tax Cuts And Jobs Act Of2017 Incomplete Accounting Provisional Income Tax Expense Benefit Related To Exercise Of Stock Options",
        "verboseLabel": "Net income tax provision related to exercise of stock options"
       }
      }
     },
     "localname": "TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToExerciseOfStockOptions",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToVestingOfRestrictedShares": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tax cuts and jobs act of 2017 incomplete accounting provisional income tax expense (benefit) related to vesting of restricted shares.",
        "label": "Tax Cuts And Jobs Act Of2017 Incomplete Accounting Provisional Income Tax Expense Benefit Related To Vesting Of Restricted Shares",
        "terseLabel": "Net income tax benefit related to vesting of restricted shares"
       }
      }
     },
     "localname": "TaxCutsAndJobsActOf2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefitRelatedToVestingOfRestrictedShares",
     "nsuri": "http://www.bylinebank.com/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TimeDeposits250000OrMore": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "by_TimeDepositsLessThan250000": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "by_WealthManagementAndTrustIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "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/20220630/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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "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/20220630/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/20220630/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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentQuarterlyReport": {
     "auth_ref": [
      "r837"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an quarterly report.",
        "label": "Document Quarterly Report",
        "terseLabel": "Document Quarterly Report"
       }
      }
     },
     "localname": "DocumentQuarterlyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r838"
     ],
     "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/20220630/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",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "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/20220630/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/20220630/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/20220630/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",
        "verboseLabel": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "stateOrProvinceItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r835"
     ],
     "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/20220630/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",
        "verboseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r835"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityExTransitionPeriod": {
     "auth_ref": [
      "r857"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r835"
     ],
     "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/20220630/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",
        "terseLabel": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2021q4",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r856"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r835"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r835"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntitySmallBusiness": {
     "auth_ref": [
      "r835"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityTaxIdentificationNumber": {
     "auth_ref": [
      "r835"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "employerIdItemType"
    },
    "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r834"
     ],
     "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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r836"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DocumentDocumentAndEntityInformation"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [
      "r49",
      "r52",
      "r123",
      "r124",
      "r362",
      "r393"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_MaximumMember": {
     "auth_ref": [
      "r361",
      "r392",
      "r435",
      "r438",
      "r656",
      "r657",
      "r658",
      "r663",
      "r664",
      "r665",
      "r701",
      "r794",
      "r796",
      "r832",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Maximum [Member]",
        "terseLabel": "Maximum [Member]",
        "verboseLabel": "Maximum"
       }
      }
     },
     "localname": "MaximumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MinimumMember": {
     "auth_ref": [
      "r361",
      "r392",
      "r435",
      "r438",
      "r656",
      "r657",
      "r658",
      "r663",
      "r664",
      "r665",
      "r701",
      "r794",
      "r796",
      "r832",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Minimum [Member]",
        "terseLabel": "Minimum"
       }
      }
     },
     "localname": "MinimumMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ProductOrServiceAxis": {
     "auth_ref": [
      "r191",
      "r419",
      "r420",
      "r702",
      "r793",
      "r795"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Axis]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductOrServiceAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ProductsAndServicesDomain": {
     "auth_ref": [
      "r191",
      "r419",
      "r420",
      "r702",
      "r793",
      "r795"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Product and Service [Domain]",
        "terseLabel": "Product and Service"
       }
      }
     },
     "localname": "ProductsAndServicesDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RangeAxis": {
     "auth_ref": [
      "r361",
      "r392",
      "r425",
      "r435",
      "r438",
      "r656",
      "r657",
      "r658",
      "r663",
      "r664",
      "r665",
      "r701",
      "r794",
      "r796",
      "r832",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Axis]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_RangeMember": {
     "auth_ref": [
      "r361",
      "r392",
      "r425",
      "r435",
      "r438",
      "r656",
      "r657",
      "r658",
      "r663",
      "r664",
      "r665",
      "r701",
      "r794",
      "r796",
      "r832",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Statistical Measurement [Domain]",
        "terseLabel": "Statistical Measurement"
       }
      }
     },
     "localname": "RangeMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [
      "r51",
      "r52",
      "r123",
      "r124",
      "r362",
      "r393"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]",
        "terseLabel": "Counterparty Name"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioForecastMember": {
     "auth_ref": [
      "r142",
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Forecast [Member]",
        "terseLabel": "Forecast"
       }
      }
     },
     "localname": "ScenarioForecastMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ScenarioUnspecifiedDomain": {
     "auth_ref": [
      "r142",
      "r147",
      "r436"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Domain]"
       }
      }
     },
     "localname": "ScenarioUnspecifiedDomain",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementScenarioAxis": {
     "auth_ref": [
      "r142",
      "r147",
      "r341",
      "r436",
      "r648"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Scenario [Axis]"
       }
      }
     },
     "localname": "StatementScenarioAxis",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_WeightedAverageMember": {
     "auth_ref": [
      "r656",
      "r658",
      "r665",
      "r832",
      "r833"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted Average [Member]",
        "terseLabel": "Weighted Average"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "http://fasb.org/srt/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "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_AccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "AccountingPoliciesAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccountingStandardsUpdate201602Member": {
     "auth_ref": [
      "r628"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Accounting Standards Update 2016-02 Leases (Topic 842).",
        "label": "Accounting Standards Update 2016-02 [Member]",
        "terseLabel": "ASU No. 2016-02"
       }
      }
     },
     "localname": "AccountingStandardsUpdate201602Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccountingStandardsUpdateExtensibleList": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r133",
      "r134",
      "r135",
      "r137",
      "r225",
      "r226",
      "r280",
      "r281",
      "r282",
      "r283",
      "r286",
      "r287",
      "r346",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r475",
      "r494",
      "r495",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r570",
      "r571",
      "r572",
      "r573",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r604",
      "r605",
      "r642",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicates amendment to accounting standards.",
        "label": "Accounting Standards Update [Extensible Enumeration]"
       }
      }
     },
     "localname": "AccountingStandardsUpdateExtensibleList",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments": {
     "auth_ref": [
      "r104"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 4.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccretionExpense": {
     "auth_ref": [
      "r334",
      "r335",
      "r336"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 16.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccruedLiabilitiesFairValueDisclosure": {
     "auth_ref": [
      "r31"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember": {
     "auth_ref": [
      "r63",
      "r72",
      "r73",
      "r74",
      "r75",
      "r520"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember": {
     "auth_ref": [
      "r56",
      "r57",
      "r58",
      "r63",
      "r72",
      "r73",
      "r74"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax": {
     "auth_ref": [
      "r55",
      "r60",
      "r62"
     ],
     "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 other comprehensive income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeLossCumulativeChangesInNetGainLossFromCashFlowHedgesEffectNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax": {
     "auth_ref": [
      "r23",
      "r60",
      "r62",
      "r63",
      "r779",
      "r804",
      "r808"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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": [
      "r72",
      "r73",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r613"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r59",
      "r63",
      "r72",
      "r73",
      "r74",
      "r127",
      "r128",
      "r129",
      "r521",
      "r799",
      "r800",
      "r862"
     ],
     "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)"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdditionalCollateralAggregateFairValue": {
     "auth_ref": [
      "r550"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate fair value of additional assets that would be required to be posted as collateral for 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": "Additional Collateral, Aggregate Fair Value",
        "terseLabel": "Additional collateral amount"
       }
      }
     },
     "localname": "AdditionalCollateralAggregateFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapital": {
     "auth_ref": [
      "r21",
      "r475",
      "r646"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AdditionalPaidInCapitalMember": {
     "auth_ref": [
      "r127",
      "r128",
      "r129",
      "r471",
      "r472",
      "r473",
      "r571"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AdjustmentsForNewAccountingPronouncementsAxis": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r133",
      "r134",
      "r135",
      "r137",
      "r147",
      "r225",
      "r226",
      "r280",
      "r281",
      "r282",
      "r283",
      "r286",
      "r287",
      "r346",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r475",
      "r492",
      "r493",
      "r494",
      "r495",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r570",
      "r571",
      "r572",
      "r573",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r604",
      "r605",
      "r642",
      "r704",
      "r705",
      "r706",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue": {
     "auth_ref": [
      "r439",
      "r441",
      "r477",
      "r478"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AdvancesFromFederalHomeLoanBanks": {
     "auth_ref": [
      "r769"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AgencySecuritiesMember": {
     "auth_ref": [
      "r273"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AllocatedShareBasedCompensationExpense": {
     "auth_ref": [
      "r441",
      "r463",
      "r476"
     ],
     "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 - restricted stock"
       }
      }
     },
     "localname": "AllocatedShareBasedCompensationExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossRecoveryOfBadDebts": {
     "auth_ref": [
      "r200"
     ],
     "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/20220630/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 (Recaptured) 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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AllowanceForLoanAndLeaseLossesWriteOffs": {
     "auth_ref": [
      "r199"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfAcquisitionCosts": {
     "auth_ref": [
      "r103",
      "r319"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 14.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfFinancingCosts": {
     "auth_ref": [
      "r83",
      "r103",
      "r374",
      "r618"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 15.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AmortizationOfIntangibleAssets": {
     "auth_ref": [
      "r103",
      "r319",
      "r325"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 7.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",
        "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetBackedSecuritiesMember": {
     "auth_ref": [
      "r255",
      "r426"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Assets": {
     "auth_ref": [
      "r116",
      "r180",
      "r183",
      "r189",
      "r278",
      "r347",
      "r348",
      "r349",
      "r350",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r518",
      "r522",
      "r593",
      "r644",
      "r646",
      "r717",
      "r777"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AssetsFairValueDisclosure": {
     "auth_ref": [
      "r575"
     ],
     "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"
       }
      }
     },
     "localname": "AssetsFairValueDisclosure",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AssetsNeededForImmediateSettlementAggregateFairValue": {
     "auth_ref": [
      "r551"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax": {
     "auth_ref": [
      "r240"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax": {
     "auth_ref": [
      "r241"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis": {
     "auth_ref": [
      "r238",
      "r305"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost": {
     "auth_ref": [
      "r246"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue": {
     "auth_ref": [
      "r242",
      "r246",
      "r761"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails3": {
       "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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost": {
     "auth_ref": [
      "r245"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r242",
      "r245",
      "r760"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails3": {
       "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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost": {
     "auth_ref": [
      "r247"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue": {
     "auth_ref": [
      "r242",
      "r247",
      "r762"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails3": {
       "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/20220630/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/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost": {
     "auth_ref": [
      "r244"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r242",
      "r244",
      "r759"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails3": {
       "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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost": {
     "auth_ref": [
      "r248"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue": {
     "auth_ref": [
      "r248",
      "r763"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails3": {
       "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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_AvailableForSaleSecuritiesDebtSecurities": {
     "auth_ref": [
      "r235",
      "r239",
      "r305",
      "r721"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails3": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 3.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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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": [
      "r269"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_AwardTypeAxis": {
     "auth_ref": [
      "r442",
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by location on balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Axis]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BalanceSheetLocationDomain": {
     "auth_ref": [
      "r531",
      "r536"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Location in the balance sheet (statement of financial position).",
        "label": "Balance Sheet Location [Domain]",
        "terseLabel": "Balance Sheet Location"
       }
      }
     },
     "localname": "BalanceSheetLocationDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BankOwnedLifeInsurance": {
     "auth_ref": [
      "r716"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 11.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BankServicingMember": {
     "auth_ref": [
      "r420"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BasisOfAccountingPolicyPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Basis of Accounting, Policy [Policy Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BasisOfAccountingPolicyPolicyTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_BusinessAcquisitionAcquireeDomain": {
     "auth_ref": [
      "r434",
      "r437"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_BusinessAcquisitionAxis": {
     "auth_ref": [
      "r434",
      "r437",
      "r509",
      "r510"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_BusinessCombinationConsiderationTransferred1": {
     "auth_ref": [
      "r512",
      "r513",
      "r514"
     ],
     "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",
        "totalLabel": "Business Combination, Consideration Transferred, Total"
       }
      }
     },
     "localname": "BusinessCombinationConsiderationTransferred1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock": {
     "auth_ref": [
      "r8",
      "r126",
      "r174"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for the business description and basis of presentation concepts.  Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity.  Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
        "label": "Business Description and Basis of Presentation [Text Block]",
        "terseLabel": "Basis of Presentation"
       }
      }
     },
     "localname": "BusinessDescriptionAndBasisOfPresentationTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeases": {
     "auth_ref": [
      "r623"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesDeferredIncome": {
     "auth_ref": [
      "r627"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesInitialDirectCosts": {
     "auth_ref": [
      "r621",
      "r626"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "order": 1.0,
       "parentTag": "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeases",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "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",
        "verboseLabel": "Initial direct costs"
       }
      }
     },
     "localname": "CapitalLeasesNetInvestmentInDirectFinancingLeasesInitialDirectCosts",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesMinimumPaymentsToBeReceived": {
     "auth_ref": [
      "r624"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CapitalLeasesNetInvestmentInDirectFinancingLeasesUnguaranteedResidualValuesOfLeasedProperty": {
     "auth_ref": [
      "r625"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails2": {
       "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CarryingReportedAmountFairValueDisclosureMember": {
     "auth_ref": [
      "r591",
      "r592"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CashAndCashEquivalentsAtCarryingValue": {
     "auth_ref": [
      "r9",
      "r27",
      "r105"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashAndDueFromBanks": {
     "auth_ref": [
      "r714"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents": {
     "auth_ref": [
      "r99",
      "r105",
      "r112"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect": {
     "auth_ref": [
      "r99",
      "r606"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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 CHANGE IN CASH AND CASH EQUIVALENTS"
       }
      }
     },
     "localname": "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CashFlowHedgingMember": {
     "auth_ref": [
      "r528"
     ],
     "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",
        "verboseLabel": "Cash Flow Hedging"
       }
      }
     },
     "localname": "CashFlowHedgingMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYield": {
     "auth_ref": [
      "r229",
      "r231"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldAccretion": {
     "auth_ref": [
      "r229",
      "r231"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsToFromNonaccretableDifference": {
     "auth_ref": [
      "r229",
      "r231"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of reclassification (to) from nonaccretable difference (from) to the excess of a loan's cash flows expected to be collected over the investor's initial investment in acquired loans not accounted for as debt securities with evidence of deterioration of credit quality.",
        "label": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Reclassifications (to) from Nonaccretable Difference",
        "terseLabel": "Reclassification from nonaccretable difference, net",
        "totalLabel": "Certain Loans Acquired in Transfer Not Accounted for as Debt Securities, Accretable Yield, Reclassifications (to) from Nonaccretable Difference, Total"
       }
      }
     },
     "localname": "CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAccretableYieldReclassificationsToFromNonaccretableDifference",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfChangesInAccretableYieldForAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet": {
     "auth_ref": [
      "r229",
      "r230"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance": {
     "auth_ref": [
      "r229",
      "r230"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ClassOfStockDomain": {
     "auth_ref": [
      "r113",
      "r116",
      "r153",
      "r157",
      "r158",
      "r161",
      "r163",
      "r171",
      "r172",
      "r173",
      "r278",
      "r347",
      "r351",
      "r352",
      "r353",
      "r356",
      "r357",
      "r390",
      "r391",
      "r395",
      "r399",
      "r593",
      "r839"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems": {
     "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": "Collaborative Arrangement and Arrangement Other than Collaborative [Line Items]"
       }
      }
     },
     "localname": "CollaborativeArrangementsAndNoncollaborativeArrangementTransactionsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CollateralAlreadyPostedAggregateFairValue": {
     "auth_ref": [
      "r549"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_CollateralAxis": {
     "auth_ref": [
      "r299"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommercialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r248",
      "r426"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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": [
      "r338",
      "r339",
      "r340",
      "r342",
      "r831"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilities"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance": {
     "auth_ref": [
      "r37"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate number of common shares reserved for future issuance.",
        "label": "Common Stock, Capital Shares Reserved for Future Issuance",
        "verboseLabel": "Number of common stock reserved for issuance"
       }
      }
     },
     "localname": "CommonStockCapitalSharesReservedForFutureIssuance",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockDividendsPerShareCashPaid": {
     "auth_ref": [
      "r414"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends paid during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Cash Paid",
        "terseLabel": "Common stock, cash dividends paid"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareCashPaid",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockDividendsPerShareDeclared": {
     "auth_ref": [
      "r414"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Aggregate dividends declared during the period for each share of common stock outstanding.",
        "label": "Common Stock, Dividends, Per Share, Declared",
        "terseLabel": "Dividends per share"
       }
      }
     },
     "localname": "CommonStockDividendsPerShareDeclared",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnauditedParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockMember": {
     "auth_ref": [
      "r127",
      "r128",
      "r571"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CommonStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r19"
     ],
     "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, voting par value"
       }
      }
     },
     "localname": "CommonStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_CommonStockSharesAuthorized": {
     "auth_ref": [
      "r19"
     ],
     "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",
        "verboseLabel": "Common stock, voting shares authorized"
       }
      }
     },
     "localname": "CommonStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesIssued": {
     "auth_ref": [
      "r19"
     ],
     "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",
        "verboseLabel": "Common stock, voting shares issued"
       }
      }
     },
     "localname": "CommonStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockSharesOutstanding": {
     "auth_ref": [
      "r19",
      "r406"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation.",
        "label": "Common Stock, Shares, Outstanding",
        "periodEndLabel": "Common Stock, Shares, Outstanding, Ending Balance",
        "periodStartLabel": "Common Stock, Shares, Outstanding, Beginning Balance",
        "terseLabel": "Common stock, voting shares outstanding",
        "verboseLabel": "Shares outstanding"
       }
      }
     },
     "localname": "CommonStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_CommonStockValue": {
     "auth_ref": [
      "r19",
      "r646"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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",
        "totalLabel": "Common Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "CommonStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r68",
      "r70",
      "r71",
      "r80",
      "r735",
      "r787"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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 (loss)"
       }
      }
     },
     "localname": "ComprehensiveIncomeNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ComprehensiveIncomeNoteTextBlock": {
     "auth_ref": [
      "r79",
      "r87",
      "r734",
      "r786"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLoss"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_CoreDepositsMember": {
     "auth_ref": [
      "r770"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CorporateDebtSecuritiesMember": {
     "auth_ref": [
      "r426",
      "r433",
      "r809"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditDerivativesByContractTypeAxis": {
     "auth_ref": [
      "r552"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_CreditDerivativesContractTypeDomain": {
     "auth_ref": [
      "r552"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/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/20220630/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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CreditLossStatusAxis": {
     "auth_ref": [
      "r233",
      "r304",
      "r314"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by credit loss status of financial asset.",
        "label": "Credit Loss Status [Axis]"
       }
      }
     },
     "localname": "CreditLossStatusAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/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]"
       }
      }
     },
     "localname": "CreditLossStatusDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_CustomerRelationshipsMember": {
     "auth_ref": [
      "r511"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesGainLoss": {
     "auth_ref": [
      "r82",
      "r84"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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 realized gains (losses) on 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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtAndEquitySecuritiesRealizedGainLoss": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 6.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of realized gain (loss) on investment in debt and equity securities.",
        "label": "Debt and Equity Securities, Realized Gain (Loss)",
        "negatedLabel": "Net realized gains on securities available-for-sale",
        "totalLabel": "Debt and Equity Securities, Realized Gain (Loss), Total"
       }
      }
     },
     "localname": "DebtAndEquitySecuritiesRealizedGainLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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": [
      "r13",
      "r15",
      "r16",
      "r115",
      "r125",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r378",
      "r379",
      "r380",
      "r381",
      "r619",
      "r718",
      "r719",
      "r775"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentCarryingAmount": {
     "auth_ref": [
      "r16",
      "r376",
      "r719",
      "r775"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentFaceAmount": {
     "auth_ref": [
      "r358",
      "r378",
      "r379",
      "r617",
      "r619",
      "r620"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentInterestRateEffectivePercentage": {
     "auth_ref": [
      "r33",
      "r377",
      "r617",
      "r619"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_DebtInstrumentInterestRateStatedPercentage": {
     "auth_ref": [
      "r33",
      "r359"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentMaturityDate": {
     "auth_ref": [
      "r34",
      "r361",
      "r580"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DebtInstrumentMeasurementInput": {
     "auth_ref": [
      "r580"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_DebtInstrumentMeasurementInputExtensibleList": {
     "auth_ref": [
      "r579",
      "r594"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_DebtInstrumentNameDomain": {
     "auth_ref": [
      "r35",
      "r115",
      "r125",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r378",
      "r379",
      "r380",
      "r381",
      "r619"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DebtInstrumentRedemptionDescription": {
     "auth_ref": [
      "r771"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentTable": {
     "auth_ref": [
      "r35",
      "r115",
      "r125",
      "r358",
      "r359",
      "r360",
      "r361",
      "r362",
      "r363",
      "r364",
      "r365",
      "r366",
      "r367",
      "r368",
      "r369",
      "r370",
      "r371",
      "r372",
      "r373",
      "r374",
      "r375",
      "r378",
      "r379",
      "r380",
      "r381",
      "r407",
      "r411",
      "r412",
      "r413",
      "r616",
      "r617",
      "r619",
      "r620",
      "r772"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DebtInstrumentUnamortizedDiscount": {
     "auth_ref": [
      "r365",
      "r616",
      "r620"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtInstrumentValuationTechniqueExtensibleList": {
     "auth_ref": [
      "r579",
      "r594"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger": {
     "auth_ref": [
      "r267",
      "r310",
      "r313"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 2.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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r267",
      "r310"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months": {
     "auth_ref": [
      "r267",
      "r310",
      "r313"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r267",
      "r310"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 1.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedGain": {
     "auth_ref": [
      "r270"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss": {
     "auth_ref": [
      "r270"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition": {
     "auth_ref": [
      "r263",
      "r306",
      "r313"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r264",
      "r307"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition",
       "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 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",
        "negatedLabel": "Available-for-sale Securities, Continuous Unrealized Loss Position, Total Unrealized Losses",
        "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions": {
     "auth_ref": [
      "r265",
      "r308"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_DeferredFinanceCostsNet": {
     "auth_ref": [
      "r28",
      "r365",
      "r618"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxAssetsNet": {
     "auth_ref": [
      "r480",
      "r481"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 12.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredIncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r103",
      "r117",
      "r491",
      "r501",
      "r502",
      "r503"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 18.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 provision, net of valuation",
        "totalLabel": "Deferred Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "DeferredIncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DeferredTaxAssetsNet": {
     "auth_ref": [
      "r487"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DepositLiabilitiesDisclosuresTextBlock": {
     "auth_ref": [
      "r723",
      "r768",
      "r854",
      "r855"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDeposits"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DepositLiabilitiesReclassifiedAsLoansReceivable1": {
     "auth_ref": [
      "r767"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Deposits": {
     "auth_ref": [
      "r723"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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": [
      "r103"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 3.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetFairValueGrossLiability": {
     "auth_ref": [
      "r43",
      "r54",
      "r534"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeAssetFairValueOffsetAgainstCollateralNetOfNotSubjectToMasterNettingArrangementPolicyElection": {
     "auth_ref": [
      "r46",
      "r48"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangementDeduction": {
     "auth_ref": [
      "r45",
      "r48"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 0.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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeAssets": {
     "auth_ref": [
      "r44",
      "r47",
      "r52",
      "r590"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 2.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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAsset": {
     "auth_ref": [
      "r42",
      "r52",
      "r53",
      "r534",
      "r668"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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": "Gross amounts recognized"
       }
      }
     },
     "localname": "DerivativeFairValueOfDerivativeAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r48",
      "r555"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 1.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",
        "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiability": {
     "auth_ref": [
      "r42",
      "r52",
      "r53",
      "r534",
      "r668"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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",
        "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral": {
     "auth_ref": [
      "r48",
      "r555"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 1.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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentRiskAxis": {
     "auth_ref": [
      "r52",
      "r532",
      "r535",
      "r542",
      "r546"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20220630/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": [
      "r561",
      "r574"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivities"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis": {
     "auth_ref": [
      "r529",
      "r532",
      "r542"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet": {
     "auth_ref": [
      "r540",
      "r545"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet": {
     "auth_ref": [
      "r541",
      "r543"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilities": {
     "auth_ref": [
      "r44",
      "r47",
      "r52",
      "r590"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 2.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": "Derivative Liability, Total"
       }
      }
     },
     "localname": "DerivativeLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeLiabilityFairValueGrossAsset": {
     "auth_ref": [
      "r43",
      "r50",
      "r54",
      "r534"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangementDeduction": {
     "auth_ref": [
      "r45",
      "r48"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCompanySInterestRateDerivativeAndOffsettingPositionsDetails": {
       "order": 0.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",
        "terseLabel": "Offsetting derivative positions"
       }
      }
     },
     "localname": "DerivativeLiabilityNotSubjectToMasterNettingArrangementDeduction",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DerivativeNetLiabilityPositionAggregateFairValue": {
     "auth_ref": [
      "r548"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeNotionalAmount": {
     "auth_ref": [
      "r525",
      "r527"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfOtherInterestRateDerivativesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DerivativeTable": {
     "auth_ref": [
      "r524",
      "r526",
      "r527",
      "r529",
      "r530",
      "r537",
      "r542",
      "r554",
      "r556",
      "r559",
      "r561"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_DesignatedAsHedgingInstrumentMember": {
     "auth_ref": [
      "r529"
     ],
     "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",
        "verboseLabel": "Derivatives Designated as Hedging Instruments"
       }
      }
     },
     "localname": "DesignatedAsHedgingInstrumentMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock": {
     "auth_ref": [
      "r479"
     ],
     "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/20220630/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_DisposalGroupClassificationAxis": {
     "auth_ref": [
      "r6"
     ],
     "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/20220630/taxonomy/role/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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DisposalGroupHeldforsaleNotDiscontinuedOperationsMember": {
     "auth_ref": [
      "r6",
      "r329",
      "r333"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DividendPayableDateToBePaidDayMonthAndYear": {
     "auth_ref": [
      "r109"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsCommonStockCash": {
     "auth_ref": [
      "r414"
     ],
     "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"
       }
      }
     },
     "localname": "DividendsCommonStockCash",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPayableAmountPerShare": {
     "auth_ref": [
      "r109"
     ],
     "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",
        "verboseLabel": "Cash dividend declared"
       }
      }
     },
     "localname": "DividendsPayableAmountPerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_DividendsPreferredStock": {
     "auth_ref": [
      "r414",
      "r766"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of paid and unpaid preferred stock dividends declared with the form of settlement in cash, stock and payment-in-kind (PIK).",
        "label": "Dividends, Preferred Stock",
        "terseLabel": "Dividends, Preferred Stock, Total",
        "totalLabel": "Dividends, Preferred Stock, Total"
       }
      }
     },
     "localname": "DividendsPreferredStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DividendsPreferredStockCash": {
     "auth_ref": [
      "r414",
      "r766"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_DoubtfulMember": {
     "auth_ref": [
      "r210",
      "r295"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareBasic": {
     "auth_ref": [
      "r81",
      "r139",
      "r140",
      "r141",
      "r142",
      "r143",
      "r150",
      "r153",
      "r161",
      "r162",
      "r163",
      "r167",
      "r168",
      "r572",
      "r573",
      "r736",
      "r788"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EarningsPerShareDiluted": {
     "auth_ref": [
      "r81",
      "r139",
      "r140",
      "r141",
      "r142",
      "r143",
      "r153",
      "r161",
      "r162",
      "r163",
      "r167",
      "r168",
      "r572",
      "r573",
      "r736",
      "r788"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_EarningsPerShareTextBlock": {
     "auth_ref": [
      "r164",
      "r165",
      "r166",
      "r169"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_EffectiveIncomeTaxRateContinuingOperations": {
     "auth_ref": [
      "r483"
     ],
     "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",
        "terseLabel": "Effective tax rate",
        "totalLabel": "Effective Income Tax Rate Reconciliation, Percent, Total"
       }
      }
     },
     "localname": "EffectiveIncomeTaxRateContinuingOperations",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized": {
     "auth_ref": [
      "r464"
     ],
     "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",
        "verboseLabel": "Unrecognized stock option compensation expenses"
       }
      }
     },
     "localname": "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1": {
     "auth_ref": [
      "r464"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense": {
     "auth_ref": [
      "r463"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions": {
     "auth_ref": [
      "r466"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EmployeeStockOptionMember": {
     "auth_ref": [
      "r461"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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",
      "r72",
      "r73",
      "r74",
      "r127",
      "r128",
      "r129",
      "r134",
      "r144",
      "r146",
      "r170",
      "r283",
      "r406",
      "r414",
      "r471",
      "r472",
      "r473",
      "r494",
      "r495",
      "r571",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r613",
      "r799",
      "r800",
      "r801",
      "r862"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EquitySecuritiesFvNiRealizedGainLoss": {
     "auth_ref": [
      "r277",
      "r789"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_EquitySecuritiesMember": {
     "auth_ref": [
      "r10",
      "r14",
      "r273",
      "r776",
      "r824",
      "r825",
      "r826"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_EstimateOfFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r367",
      "r378",
      "r379",
      "r590"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable": {
     "auth_ref": [
      "r575",
      "r576",
      "r577",
      "r586"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable": {
     "auth_ref": [
      "r578"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnNonrecurringBasisTextBlock": {
     "auth_ref": [
      "r575",
      "r576",
      "r578"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain": {
     "auth_ref": [
      "r581"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock": {
     "auth_ref": [
      "r581",
      "r586"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByAssetClassAxis": {
     "auth_ref": [
      "r575",
      "r586"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTable": {
     "auth_ref": [
      "r575",
      "r591",
      "r592"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByBalanceSheetGroupingTextBlock": {
     "auth_ref": [
      "r575",
      "r591"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueByFairValueHierarchyLevelAxis": {
     "auth_ref": [
      "r367",
      "r378",
      "r379",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r576",
      "r652",
      "r653",
      "r654"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementBasisAxis": {
     "auth_ref": [
      "r367",
      "r378",
      "r379",
      "r575",
      "r587"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueByMeasurementFrequencyAxis": {
     "auth_ref": [
      "r575",
      "r576",
      "r579",
      "r580",
      "r588"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FairValueDisclosureItemAmountsDomain": {
     "auth_ref": [
      "r367",
      "r378",
      "r379"
     ],
     "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/20220630/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": [
      "r584"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurement"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValueInputsLevel1Member": {
     "auth_ref": [
      "r367",
      "r426",
      "r427",
      "r432",
      "r433",
      "r576",
      "r652"
     ],
     "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",
        "verboseLabel": "Level 1"
       }
      }
     },
     "localname": "FairValueInputsLevel1Member",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel2Member": {
     "auth_ref": [
      "r367",
      "r378",
      "r379",
      "r426",
      "r427",
      "r432",
      "r433",
      "r576",
      "r653"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueInputsLevel3Member": {
     "auth_ref": [
      "r367",
      "r378",
      "r379",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r576",
      "r654"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1": {
     "auth_ref": [
      "r582"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases": {
     "auth_ref": [
      "r583"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue": {
     "auth_ref": [
      "r581"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FairValueMeasurementsFairValueHierarchyDomain": {
     "auth_ref": [
      "r367",
      "r378",
      "r379",
      "r426",
      "r427",
      "r428",
      "r429",
      "r430",
      "r431",
      "r432",
      "r433",
      "r652",
      "r653",
      "r654"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueMeasurementsRecurringMember": {
     "auth_ref": [
      "r584",
      "r588"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FairValueNetDerivativeAssetLiabilityMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock": {
     "auth_ref": [
      "r581",
      "r585"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable": {
     "auth_ref": [
      "r531",
      "r537",
      "r557"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FederalFundsPurchased": {
     "auth_ref": [
      "r724"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 2.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of short term borrowing where a bank borrows, at the federal funds rate, from another bank.",
        "label": "Federal Funds Purchased",
        "terseLabel": "Federal funds purchased"
       }
      }
     },
     "localname": "FederalFundsPurchased",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630/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",
        "terseLabel": "Federal Home Loan Bank, Advances, Interest Rate"
       }
      }
     },
     "localname": "FederalHomeLoanBankAdvancesInterestRate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_FederalHomeLoanBankAdvancesMember": {
     "auth_ref": [
      "r725"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetAcquiredWithCreditDeteriorationMember": {
     "auth_ref": [
      "r233"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetNotPastDueMember": {
     "auth_ref": [
      "r291",
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialAssetPastDueMember": {
     "auth_ref": [
      "r220",
      "r291",
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancialInstrumentAxis": {
     "auth_ref": [
      "r255",
      "r259",
      "r274",
      "r275",
      "r276",
      "r289",
      "r290",
      "r291",
      "r293",
      "r295",
      "r309",
      "r311",
      "r312",
      "r313",
      "r375",
      "r404",
      "r561",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r656",
      "r657",
      "r658",
      "r663",
      "r664",
      "r665",
      "r666",
      "r670",
      "r673",
      "r682",
      "r683",
      "r684",
      "r685",
      "r688",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r697",
      "r698",
      "r699",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/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/20220630/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/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment": {
     "auth_ref": [
      "r202"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock": {
     "auth_ref": [
      "r210",
      "r295"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment": {
     "auth_ref": [
      "r202"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableModificationsNumberOfContracts2": {
     "auth_ref": [
      "r212"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_FinancingReceivableModificationsPostModificationRecordedInvestment2": {
     "auth_ref": [
      "r212"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsPreModificationRecordedInvestment2": {
     "auth_ref": [
      "r212"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsRecordedInvestment": {
     "auth_ref": [
      "r212",
      "r234"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfLoansModifiedAsTroubledDebtRestructuringsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivableModificationsSubsequentDefaultRecordedInvestment1": {
     "auth_ref": [
      "r213"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentAxis": {
     "auth_ref": [
      "r289",
      "r290",
      "r296",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r852",
      "r853"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablePortfolioSegmentDomain": {
     "auth_ref": [
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r852",
      "r853"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis": {
     "auth_ref": [
      "r211",
      "r219",
      "r220",
      "r291",
      "r293",
      "r295",
      "r297",
      "r298",
      "r302",
      "r303",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r852",
      "r853"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain": {
     "auth_ref": [
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845",
      "r847",
      "r848",
      "r849",
      "r850",
      "r851",
      "r852",
      "r853"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus": {
     "auth_ref": [
      "r218",
      "r292",
      "r850",
      "r851"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of financing receivable on nonaccrual status.",
        "label": "Financing Receivable, Nonaccrual",
        "terseLabel": "Financing Receivable, Non-accrual"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentNonaccrualStatus",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/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": "Financing Receivable Recorded Investment Past Due [Line Items]"
       }
      }
     },
     "localname": "FinancingReceivableRecordedInvestmentPastDueLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivables30To59DaysPastDueMember": {
     "auth_ref": [
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivables60To89DaysPastDueMember": {
     "auth_ref": [
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember": {
     "auth_ref": [
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FinancingReceivablesImpairedTroubledDebtRestructuringWriteDown": {
     "auth_ref": [
      "r234"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueAxis": {
     "auth_ref": [
      "r220",
      "r291",
      "r303"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by period in which financial asset is past due or not past due.",
        "label": "Financial Asset, Aging [Axis]"
       }
      }
     },
     "localname": "FinancingReceivablesPeriodPastDueAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FinancingReceivablesPeriodPastDueDomain": {
     "auth_ref": [
      "r220",
      "r291",
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization": {
     "auth_ref": [
      "r324"
     ],
     "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"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAccumulatedAmortization",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive": {
     "auth_ref": [],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths": {
     "auth_ref": [
      "r326"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "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 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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "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 remainder of current fiscal year.",
        "label": "Finite-Lived Intangible Asset, Expected Amortization, Remainder of Fiscal Year",
        "terseLabel": "2021"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive": {
     "auth_ref": [
      "r326"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour": {
     "auth_ref": [
      "r326"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "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 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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree": {
     "auth_ref": [
      "r326"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "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 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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo": {
     "auth_ref": [
      "r326"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "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 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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis": {
     "auth_ref": [
      "r320",
      "r321",
      "r324",
      "r327",
      "r703",
      "r710"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain": {
     "auth_ref": [
      "r320",
      "r323"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsNet": {
     "auth_ref": [
      "r324",
      "r703"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsEstimatedAmortizationExpenseForCoreDepositIntangibleAndCustomerRelationshipIntangibleRecognizedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1": {
     "auth_ref": [
      "r703"
     ],
     "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 period"
       }
      }
     },
     "localname": "FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ForeclosedAssets": {
     "auth_ref": [
      "r195",
      "r196"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 9.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSaleOfPropertyPlantEquipment": {
     "auth_ref": [
      "r103"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 7.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 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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainLossOnSalesOfLoansNet": {
     "auth_ref": [
      "r103",
      "r742",
      "r792"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 8.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_GainsLossesOnSalesOfOtherRealEstate": {
     "auth_ref": [
      "r744"
     ],
     "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 (losses) on sales of OREO"
       }
      }
     },
     "localname": "GainsLossesOnSalesOfOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_Goodwill": {
     "auth_ref": [
      "r315",
      "r316",
      "r646",
      "r715"
     ],
     "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, Goodwill",
        "periodStartLabel": "Beginning balance, Goodwill",
        "totalLabel": "Goodwill, Total"
       }
      }
     },
     "localname": "Goodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "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": [
      "r328"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_HedgingDesignationAxis": {
     "auth_ref": [
      "r529",
      "r547"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HedgingDesignationDomain": {
     "auth_ref": [
      "r529"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HedgingRelationshipDomain": {
     "auth_ref": [
      "r529"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfCashFlowHedgesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_HeldToMaturitySecurities": {
     "auth_ref": [
      "r220",
      "r249",
      "r288",
      "r291"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 4.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 (fair value at June 30, 2022 -$3,876, December 31,2021 -$3,992)",
        "totalLabel": "Held-to-maturity Securities, Amortized Cost"
       }
      }
     },
     "localname": "HeldToMaturitySecurities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain": {
     "auth_ref": [
      "r251",
      "r257"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss": {
     "auth_ref": [
      "r252",
      "r258"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss": {
     "auth_ref": [
      "r264",
      "r267"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for 12 months or longer.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Accumulated Loss",
        "terseLabel": "Held to maturity securities continuous unrealized loss position 12 months or longer accumulated loss"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss": {
     "auth_ref": [
      "r264"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position.",
        "label": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss",
        "negatedTerseLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss, Total",
        "negatedTotalLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss, Total",
        "totalLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Accumulated Loss, Total"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue": {
     "auth_ref": [
      "r263"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in unrealized loss position.",
        "label": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value",
        "terseLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value, Total",
        "totalLabel": "Debt Securities, Held-to-maturity, Unrealized Loss Position, Fair Value, Total"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss": {
     "auth_ref": [
      "r264",
      "r267"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of accumulated unrealized loss on investment in debt security measured at amortized cost (held-to-maturity), in continuous loss position for less than 12 months.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Accumulated Loss",
        "negatedLabel": "Held to maturity securities continuous unrealized loss position less than 12 months accumulated loss",
        "terseLabel": "Held to maturity securities continuous unrealized loss position less than 12 months accumulated loss"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue": {
     "auth_ref": [
      "r267"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for less than 12 months.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, Less than 12 Months, Fair Value",
        "terseLabel": "Held to maturity securities continuous unrealized loss position less than twelve months fair value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue": {
     "auth_ref": [
      "r267"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fair value of investment in debt security measured at amortized cost (held-to-maturity), in continuous unrealized loss position for 12 months or longer.",
        "label": "Debt Securities, Held-to-maturity, Continuous Unrealized Loss Position, 12 Months or Longer, Fair Value",
        "terseLabel": "Held to maturity securities continuous unrealized loss position twelve months or longer fair value"
       }
      }
     },
     "localname": "HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue": {
     "auth_ref": [
      "r254",
      "r261",
      "r757",
      "r760"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails4": {
       "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 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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount": {
     "auth_ref": [
      "r254",
      "r757"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails2": {
       "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 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/20220630/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/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue": {
     "auth_ref": [
      "r253",
      "r260",
      "r756",
      "r759"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount": {
     "auth_ref": [
      "r253",
      "r756"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldToMaturitySecuritiesFairValue": {
     "auth_ref": [
      "r250",
      "r256",
      "r721"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails4": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITEDParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_HeldtomaturitySecuritiesMember": {
     "auth_ref": [
      "r269"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment": {
     "auth_ref": [
      "r206",
      "r209"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r207"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRecordedInvestment": {
     "auth_ref": [
      "r203"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableRelatedAllowance": {
     "auth_ref": [
      "r204"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance": {
     "auth_ref": [
      "r205"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r206",
      "r209"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r207"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r203"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r205"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceAverageRecordedInvestment": {
     "auth_ref": [
      "r206",
      "r209"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceInterestIncomeAccrualMethod": {
     "auth_ref": [
      "r207"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment": {
     "auth_ref": [
      "r203"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance": {
     "auth_ref": [
      "r205"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ImpairedFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r208"
     ],
     "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, and Related Allowance for Loans and Leases Considered Impaired"
       }
      }
     },
     "localname": "ImpairedFinancingReceivablesTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf": {
     "auth_ref": [
      "r103",
      "r330"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 2.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 1.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",
        "terseLabel": "Impairment loss on assets held for sale"
       }
      }
     },
     "localname": "ImpairmentOfLongLivedAssetsToBeDisposedOf",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest": {
     "auth_ref": [
      "r77",
      "r180",
      "r182",
      "r185",
      "r188",
      "r190",
      "r711",
      "r732",
      "r753",
      "r790"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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": [
      "r332",
      "r337"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeStatementLocationDomain": {
     "auth_ref": [
      "r337"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_IncomeTaxAuthorityAxis": {
     "auth_ref": [
      "r485"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by tax jurisdiction.",
        "label": "Income Tax Authority [Axis]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncomeTaxAuthorityDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Agency, division or body classification that levies income taxes, examines tax returns for compliance, or grants exemptions from or makes other decisions pertaining to income taxes.",
        "label": "Income Tax Authority [Domain]"
       }
      }
     },
     "localname": "IncomeTaxAuthorityDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "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": [
      "r118",
      "r484",
      "r486",
      "r488",
      "r499",
      "r504",
      "r506",
      "r507",
      "r508"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureIncomeTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_IncomeTaxExpenseBenefit": {
     "auth_ref": [
      "r119",
      "r145",
      "r146",
      "r179",
      "r482",
      "r500",
      "r505",
      "r791"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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": "Income Tax Expense (Benefit), Total"
       }
      }
     },
     "localname": "IncomeTaxExpenseBenefit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncomeTaxesPaidNet": {
     "auth_ref": [
      "r108"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash paid during the current period to foreign, federal, state, and local authorities as taxes on income, net of any cash received during the current period as refunds for the overpayment of taxes.",
        "label": "Income Taxes Paid, Net",
        "terseLabel": "Cash paid 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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IncreaseDecreaseInDeposits": {
     "auth_ref": [
      "r106",
      "r751"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements": {
     "auth_ref": [
      "r154",
      "r155",
      "r156",
      "r163"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InformationTechnologyAndDataProcessing": {
     "auth_ref": [
      "r86"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 5.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetExcludingGoodwill": {
     "auth_ref": [
      "r318",
      "r322"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsSummaryOfChangesInGoodwillCoreDepositIntangibleAssetsAndCustomerRelationshipIntangibleAssetsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_IntangibleAssetsNetIncludingGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 10.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Carrying amount of finite-lived intangible assets, indefinite-lived intangible assets and goodwill. Goodwill is an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. Intangible assets are assets, not including financial assets, lacking physical substance.",
        "label": "Intangible Assets, Net (Including Goodwill)",
        "terseLabel": "Goodwill and other intangible assets, net",
        "totalLabel": "Intangible Assets, Net (Including Goodwill), Total"
       }
      }
     },
     "localname": "IntangibleAssetsNetIncludingGoodwill",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestAndDividendIncomeOperating": {
     "auth_ref": [
      "r738"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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",
        "totalLabel": "Total interest and dividend income"
       }
      }
     },
     "localname": "InterestAndDividendIncomeOperating",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestAndFeeIncomeLoansAndLeases": {
     "auth_ref": [
      "r737"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilities": {
     "auth_ref": [
      "r723"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate of all domestic and foreign interest-bearing deposit liabilities.",
        "label": "Interest-bearing Deposit Liabilities",
        "terseLabel": "Interest-bearing deposits",
        "totalLabel": "Interest-bearing Deposit Liabilities, Total"
       }
      }
     },
     "localname": "InterestBearingDepositLiabilities",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r723"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDepositsInBanks": {
     "auth_ref": [
      "r713",
      "r729"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositBrokered": {
     "auth_ref": [
      "r723"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositChecking": {
     "auth_ref": [
      "r723"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestBearingDomesticDepositTimeDeposits": {
     "auth_ref": [
      "r723"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "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": "Total",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InterestBearingDomesticDepositTimeDeposits",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpense": {
     "auth_ref": [
      "r76",
      "r178",
      "r615",
      "r618",
      "r750"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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",
        "totalLabel": "Total interest expense"
       }
      }
     },
     "localname": "InterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InterestExpenseDeposits": {
     "auth_ref": [
      "r748"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestExpenseSubordinatedNotesAndDebentures": {
     "auth_ref": [
      "r749"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss": {
     "auth_ref": [
      "r741"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/(recapture) for loan and lease losses"
       }
      }
     },
     "localname": "InterestIncomeExpenseAfterProvisionForLoanLoss",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeExpenseNet": {
     "auth_ref": [
      "r739"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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"
       }
      }
     },
     "localname": "InterestIncomeExpenseNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestIncomeSecuritiesTaxable": {
     "auth_ref": [
      "r746",
      "r839",
      "r840"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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 securities"
       }
      }
     },
     "localname": "InterestIncomeSecuritiesTaxable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPaidNet": {
     "auth_ref": [
      "r98",
      "r100",
      "r108"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestPayableCurrentAndNoncurrent": {
     "auth_ref": [
      "r727",
      "r783"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateCashFlowHedgeGainLossToBeReclassifiedDuringNext12MonthsNet": {
     "auth_ref": [
      "r560"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestRateSwapMember": {
     "auth_ref": [
      "r544"
     ],
     "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",
        "verboseLabel": "Interest Rate Swaps"
       }
      }
     },
     "localname": "InterestRateSwapMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InterestReceivable": {
     "auth_ref": [
      "r41"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InterestReceivableAndOtherAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 13.0,
       "parentTag": "us-gaap_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of interest receivable and assets classified as other.",
        "label": "Interest Receivable and Other Assets",
        "terseLabel": "Accrued interest receivable and other assets"
       }
      }
     },
     "localname": "InterestReceivableAndOtherAssets",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_InternalCreditAssessmentAxis": {
     "auth_ref": [
      "r210",
      "r295",
      "r301",
      "r302",
      "r343",
      "r553"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_InvestmentTypeAxis": {
     "auth_ref": [
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819",
      "r821",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_InvestmentTypeCategorizationMember": {
     "auth_ref": [
      "r811",
      "r812",
      "r813",
      "r814",
      "r815",
      "r816",
      "r817",
      "r818",
      "r819",
      "r821",
      "r822",
      "r823",
      "r824",
      "r825",
      "r826"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/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/20220630/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": [
      "r273",
      "r712",
      "r764",
      "r827",
      "r846"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsMeasuredAtFairValueOnRecurringBasisUsingSignificantUnobservableInputsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust": {
     "auth_ref": [
      "r728",
      "r784"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 3.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"
       }
      }
     },
     "localname": "JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LaborAndRelatedExpense": {
     "auth_ref": [
      "r85"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCost": {
     "auth_ref": [
      "r638",
      "r640"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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",
        "totalLabel": "Lease, Cost, Total"
       }
      }
     },
     "localname": "LeaseCost",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LeaseCostTableTextBlock": {
     "auth_ref": [
      "r638"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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_LesseeLeaseDescriptionLineItems": {
     "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": "Lessee, Lease, Description [Line Items]",
        "terseLabel": "Lessee Lease Description [Line Items]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeLeaseDescriptionTable": {
     "auth_ref": [
      "r631"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about lessee's leases.",
        "label": "Lessee, Lease, Description [Table]",
        "terseLabel": "Lessee Lease Description [Table]"
       }
      }
     },
     "localname": "LesseeLeaseDescriptionTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock": {
     "auth_ref": [
      "r639"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLeasesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails3": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "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 undiscounted lease payments"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/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": "2023"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/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": "2026"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearFour",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/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": "2025"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearThree",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/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": "2024"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsDueYearTwo",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails": {
       "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 payment for operating lease having initial or remaining lease term in excess of one year to be paid in remainder of current fiscal year.",
        "label": "Lessee, Operating Lease, Liability, to be Paid, Remainder of Fiscal Year",
        "terseLabel": "2022"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount": {
     "auth_ref": [
      "r639"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails3": {
       "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",
        "negatedLabel": "Less: imputed interest"
       }
      }
     },
     "localname": "LesseeOperatingLeaseLiabilityUndiscountedExcessAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LesseeOperatingLeasesTextBlock": {
     "auth_ref": [
      "r641"
     ],
     "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/20220630/taxonomy/role/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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_Liabilities": {
     "auth_ref": [
      "r30",
      "r116",
      "r184",
      "r278",
      "r347",
      "r348",
      "r349",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r519",
      "r522",
      "r523",
      "r593",
      "r644",
      "r645"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LiabilitiesAndStockholdersEquity": {
     "auth_ref": [
      "r26",
      "r116",
      "r278",
      "r593",
      "r646",
      "r720",
      "r781"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LifeInsuranceCorporateOrBankOwnedChangeInValue": {
     "auth_ref": [
      "r279"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 19.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCredit": {
     "auth_ref": [
      "r16",
      "r719",
      "r775"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 4.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LineOfCreditFacilityAxis": {
     "auth_ref": [
      "r29",
      "r115"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfShortTermCreditLinesAvailableForUseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityInterestRateDescription": {
     "auth_ref": [
      "r29"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityLenderDomain": {
     "auth_ref": [
      "r29",
      "r115"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LineOfCreditFacilityTable": {
     "auth_ref": [
      "r29",
      "r115"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableAllowance": {
     "auth_ref": [
      "r197",
      "r201",
      "r222",
      "r232"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_LoansAndLeasesReceivableNetReportedAmount",
       "weight": -1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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",
        "negatedPeriodEndLabel": "Ending balance",
        "negatedPeriodStartLabel": "Beginning balance",
        "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableBeforeFeesGross": {
     "auth_ref": [
      "r194"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsFixedRates": {
     "auth_ref": [
      "r773",
      "r774"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableCommitmentsVariableRates": {
     "auth_ref": [
      "r773",
      "r774"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDeferredIncome": {
     "auth_ref": [
      "r216",
      "r224",
      "r627",
      "r731"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableDisclosureTable": {
     "auth_ref": [
      "r194"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LoansAndLeasesReceivableGrossCarryingAmount": {
     "auth_ref": [
      "r194"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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 Receivables, Gross",
        "totalLabel": "Loans And Leases Receivables, Gross",
        "verboseLabel": "Total loans and leases"
       }
      }
     },
     "localname": "LoansAndLeasesReceivableGrossCarryingAmount",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansAndLeasesReceivableNetReportedAmount": {
     "auth_ref": [
      "r194",
      "r731"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 1.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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LoansNotesTradeAndOtherReceivablesDisclosureTextBlock": {
     "auth_ref": [
      "r223"
     ],
     "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": "Loan and Lease Receivables"
       }
      }
     },
     "localname": "LoansNotesTradeAndOtherReceivablesDisclosureTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_LoansPledgedAsCollateral": {
     "auth_ref": [
      "r217",
      "r670"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_LoansReceivableHeldForSaleNetNotPartOfDisposalGroup": {
     "auth_ref": [
      "r194",
      "r828"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 6.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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_LongtermDebtTypeAxis": {
     "auth_ref": [
      "r35"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_LongtermDebtTypeDomain": {
     "auth_ref": [
      "r35",
      "r345"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputDiscountRateMember": {
     "auth_ref": [
      "r578"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputExpectedTermMember": {
     "auth_ref": [
      "r578"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputPrepaymentRateMember": {
     "auth_ref": [
      "r578"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MeasurementInputTypeAxis": {
     "auth_ref": [
      "r578"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r237",
      "r426",
      "r427",
      "r433",
      "r809"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Securities collateralized by mortgage loans.",
        "label": "Collateralized Mortgage Backed Securities [Member]",
        "terseLabel": "Mortgage-Backed Securities"
       }
      }
     },
     "localname": "MortgageBackedSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_MortgageLoansInProcessOfForeclosureAmount": {
     "auth_ref": [
      "r215"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_MutualFundMember": {
     "auth_ref": [
      "r426"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NetCashProvidedByUsedInFinancingActivities": {
     "auth_ref": [
      "r99"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInInvestingActivities": {
     "auth_ref": [
      "r99"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetCashProvidedByUsedInOperatingActivities": {
     "auth_ref": [
      "r99",
      "r101",
      "r104"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NetIncomeLoss": {
     "auth_ref": [
      "r7",
      "r66",
      "r69",
      "r74",
      "r78",
      "r104",
      "r116",
      "r133",
      "r139",
      "r140",
      "r141",
      "r142",
      "r145",
      "r146",
      "r159",
      "r180",
      "r182",
      "r185",
      "r188",
      "r190",
      "r278",
      "r347",
      "r348",
      "r349",
      "r351",
      "r352",
      "r353",
      "r354",
      "r355",
      "r356",
      "r357",
      "r573",
      "r593",
      "r733",
      "r785"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 0.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "order": 0.0,
       "parentTag": "us-gaap_ComprehensiveIncomeNetOfTax",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic": {
     "auth_ref": [
      "r139",
      "r140",
      "r141",
      "r142",
      "r150",
      "r151",
      "r160",
      "r163",
      "r180",
      "r182",
      "r185",
      "r188",
      "r190"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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",
        "verboseLabel": "INCOME AVAILABLE TO COMMON STOCKHOLDERS"
       }
      }
     },
     "localname": "NetIncomeLossAvailableToCommonStockholdersBasic",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock": {
     "auth_ref": [
      "r5",
      "r131",
      "r132",
      "r135",
      "r136",
      "r147",
      "r148",
      "r149",
      "r227",
      "r228",
      "r284",
      "r285",
      "r421",
      "r422",
      "r423",
      "r424",
      "r474",
      "r496",
      "r497",
      "r498",
      "r569",
      "r601",
      "r602",
      "r603",
      "r643",
      "r707",
      "r708",
      "r709",
      "r803",
      "r804",
      "r805",
      "r806",
      "r808",
      "r863"
     ],
     "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 Adopted or Issued"
       }
      }
     },
     "localname": "NewAccountingPronouncementsAndChangesInAccountingPrinciplesTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssued"
     ],
     "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 Or Change In Accounting Principle [Line Items]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NewAccountingPronouncementsOrChangeInAccountingPrincipleTable": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r130",
      "r133",
      "r134",
      "r135",
      "r137",
      "r138",
      "r141",
      "r147",
      "r167",
      "r225",
      "r226",
      "r280",
      "r281",
      "r282",
      "r283",
      "r286",
      "r287",
      "r346",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r475",
      "r492",
      "r493",
      "r494",
      "r495",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r570",
      "r571",
      "r572",
      "r573",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r604",
      "r605",
      "r642",
      "r704",
      "r705",
      "r706",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862"
     ],
     "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]",
        "terseLabel": "New Accounting Pronouncements Or Change In Accounting Principle [Table]"
       }
      }
     },
     "localname": "NewAccountingPronouncementsOrChangeInAccountingPrincipleTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_NondesignatedMember": {
     "auth_ref": [
      "r529"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_NoninterestBearingDepositLiabilitiesDomestic": {
     "auth_ref": [
      "r723"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestBearingDomesticDepositDemand": {
     "auth_ref": [
      "r723"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails": {
       "order": 0.0,
       "parentTag": "us-gaap_Deposits",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureDepositsCompositionOfDepositsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NoninterestExpense": {
     "auth_ref": [
      "r745"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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",
        "totalLabel": "Total non-interest expense"
       }
      }
     },
     "localname": "NoninterestExpense",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncome": {
     "auth_ref": [
      "r743"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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",
        "totalLabel": "Total non-interest income"
       }
      }
     },
     "localname": "NoninterestIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_NoninterestIncomeOther": {
     "auth_ref": [
      "r743"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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"
       }
      }
     },
     "localname": "NoninterestIncomeOther",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableGross": {
     "auth_ref": [
      "r220",
      "r288",
      "r291",
      "r294",
      "r302",
      "r303",
      "r847",
      "r849",
      "r850"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount, before allowance for credit loss, of financing receivable.",
        "label": "Financing Receivable, before Allowance for Credit Loss",
        "terseLabel": "30-59Day Past Due",
        "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NotesReceivableNet": {
     "auth_ref": [
      "r20",
      "r194",
      "r294"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_NumberOfReportableSegments": {
     "auth_ref": [
      "r175"
     ],
     "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 segments"
       }
      }
     },
     "localname": "NumberOfReportableSegments",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "us-gaap_OperatingLeaseCost": {
     "auth_ref": [
      "r632",
      "r640"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseLiability": {
     "auth_ref": [
      "r630"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails3": {
       "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": "Operating lease liabilities",
        "totalLabel": "Operating Lease, Liability, Total",
        "verboseLabel": "Net lease liabilities"
       }
      }
     },
     "localname": "OperatingLeaseLiability",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfFutureMinimumLeasePaymentsForOperatingLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseRightOfUseAsset": {
     "auth_ref": [
      "r629"
     ],
     "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 right-of-use assets"
       }
      }
     },
     "localname": "OperatingLeaseRightOfUseAsset",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesScheduleOfOperatingLeaseRightOfUseAssetAndLiabilityDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageDiscountRatePercent": {
     "auth_ref": [
      "r637",
      "r640"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_OperatingLeaseWeightedAverageRemainingLeaseTerm1": {
     "auth_ref": [
      "r636",
      "r640"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_OperatingLeasesFutureMinimumPaymentsDueFutureMinimumSubleaseRentals": {
     "auth_ref": [
      "r622"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OperatingLossCarryforwards": {
     "auth_ref": [
      "r489"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsLineItems",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OperatingLossCarryforwardsTable": {
     "auth_ref": [
      "r490"
     ],
     "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]"
       }
      }
     },
     "localname": "OperatingLossCarryforwardsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
       }
      }
     },
     "localname": "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherBorrowings": {
     "auth_ref": [
      "r726"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_Liabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The carrying amount as of the balance sheet date for the aggregate of other miscellaneous borrowings owed by the reporting entity.",
        "label": "Other Borrowings",
        "terseLabel": "Other borrowings",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "OtherBorrowings",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r516",
      "r517",
      "r520"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesTaxPortionAttributableToParent": {
     "auth_ref": [
      "r516",
      "r517",
      "r520"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent": {
     "auth_ref": [
      "r60"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationTax": {
     "auth_ref": [
      "r61"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax": {
     "auth_ref": [
      "r55",
      "r60",
      "r533",
      "r539",
      "r558"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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 Loss Recognized in OCI"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAndTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfNetGainsLossesRecordedInAccumulatedOtherComprehensiveIncomeLossAndConsolidatedSt",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax": {
     "auth_ref": [
      "r60",
      "r64",
      "r540"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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 losses included in net income"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent": {
     "auth_ref": [
      "r67",
      "r70",
      "r516",
      "r517",
      "r520"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesBeforeTax": {
     "auth_ref": [
      "r60",
      "r64",
      "r65",
      "r272"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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) losses 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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax": {
     "auth_ref": [
      "r60",
      "r64",
      "r65",
      "r272"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount after 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, Net of Tax",
        "terseLabel": "Net gains reclassified from accumulated other comprehensive income earnings",
        "totalLabel": "Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax, Total"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodBeforeTax": {
     "auth_ref": [
      "r56",
      "r60",
      "r272"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfAmountsIncludedInNoninterestIncomeInConsolidatedStatementsOfOperationsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesSummaryOfDerivativeFinancialInstrumentsAndClassificationOnConsolidatedStatementsOfFinancialConditionDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_OtherInterestAndDividendIncome": {
     "auth_ref": [
      "r747"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 2.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherLiabilitiesDisclosureTextBlock": {
     "auth_ref": [
      "r32"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowings"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_OtherNoninterestExpense": {
     "auth_ref": [
      "r745"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "order": 8.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherRealEstateAndForeclosedAssets": {
     "auth_ref": [
      "r722"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_OtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsCategoriesOfInvestmentsDomain": {
     "auth_ref": [
      "r268"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PassMember": {
     "auth_ref": [
      "r210",
      "r295"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PastDueFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r219",
      "r220",
      "r291",
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_PaymentsForProceedsFromFederalHomeLoanBankStock": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 5.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": "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForProceedsFromLoansAndLeases": {
     "auth_ref": [
      "r752"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 6.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfCommonStock": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 10.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": "Repurchases of common stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 9.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInFinancingActivities",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow to reacquire preferred stock during the period.",
        "label": "Payments for Repurchase of Preferred Stock and Preference Stock",
        "negatedLabel": "Redemption of preferred stock",
        "terseLabel": "Redemption of preferred stock"
       }
      }
     },
     "localname": "PaymentsForRepurchaseOfPreferredStockAndPreferenceStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsCommonStock": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 7.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock": {
     "auth_ref": [
      "r96"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 6.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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r88",
      "r92",
      "r236"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment": {
     "auth_ref": [
      "r93"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 7.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PlanNameAxis": {
     "auth_ref": [
      "r442",
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PortionAtFairValueFairValueDisclosureMember": {
     "auth_ref": [
      "r589"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockDividendRatePercentage": {
     "auth_ref": [
      "r391"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "us-gaap_PreferredStockDividendsIncomeStatementImpact": {
     "auth_ref": [],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PreferredStockLiquidationPreference": {
     "auth_ref": [
      "r18",
      "r113",
      "r395",
      "r407",
      "r408"
     ],
     "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": "Preferred stock, liquidation preference per share"
       }
      }
     },
     "localname": "PreferredStockLiquidationPreference",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PreferredStockNoParValue": {
     "auth_ref": [
      "r18",
      "r390"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Face amount per share of no-par value preferred stock nonredeemable or redeemable solely at the option of the issuer.",
        "label": "Preferred Stock, No Par Value",
        "terseLabel": "Preferred shares par value"
       }
      }
     },
     "localname": "PreferredStockNoParValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockParOrStatedValuePerShare": {
     "auth_ref": [
      "r18",
      "r390"
     ],
     "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"
       }
      }
     },
     "localname": "PreferredStockParOrStatedValuePerShare",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockRedemptionDate": {
     "auth_ref": [
      "r389",
      "r407"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Date the preferred stock has been redeemed, in YYYY-MM-DD format.",
        "label": "Preferred Stock, Redemption Date",
        "terseLabel": "Preferred Stock, Redemption Date"
       }
      }
     },
     "localname": "PreferredStockRedemptionDate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "dateItemType"
    },
    "us-gaap_PreferredStockRedemptionPricePerShare": {
     "auth_ref": [
      "r389",
      "r407",
      "r409"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_PreferredStockSharesAuthorized": {
     "auth_ref": [
      "r18"
     ],
     "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": "Preferred stock, Shares authorized"
       }
      }
     },
     "localname": "PreferredStockSharesAuthorized",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesIssued": {
     "auth_ref": [
      "r18",
      "r390"
     ],
     "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": "Preferred stock, Shares issued"
       }
      }
     },
     "localname": "PreferredStockSharesIssued",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockSharesOutstanding": {
     "auth_ref": [
      "r18"
     ],
     "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": "Preferred stock, Shares outstanding"
       }
      }
     },
     "localname": "PreferredStockSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_PreferredStockValue": {
     "auth_ref": [
      "r18",
      "r646"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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",
        "totalLabel": "Preferred Stock, Value, Issued, Total"
       }
      }
     },
     "localname": "PreferredStockValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_PrincipalAmountOutstandingOfLoansHeldInPortfolio": {
     "auth_ref": [
      "r660"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ProceedsFromIssuanceOfCommonStock": {
     "auth_ref": [
      "r94"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 8.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"
       }
      }
     },
     "localname": "ProceedsFromIssuanceOfCommonStock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities": {
     "auth_ref": [
      "r88",
      "r89",
      "r236"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfHeldToMaturitySecurities": {
     "auth_ref": [
      "r89",
      "r236"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromPaymentsForInSecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r106",
      "r107"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 5.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt": {
     "auth_ref": [
      "r88",
      "r89",
      "r236"
     ],
     "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",
        "terseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromSaleOfAvailableForSaleSecuritiesDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfProceedsFromSalesOfSecuritiesAvailableForSaleAndAssociatedGainsAndLossesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfOtherRealEstate": {
     "auth_ref": [
      "r91"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 10.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment": {
     "auth_ref": [
      "r90"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 8.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromShortTermDebt": {
     "auth_ref": [
      "r95"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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",
        "totalLabel": "Proceeds from Short-term Debt, Total"
       }
      }
     },
     "localname": "ProceedsFromShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProceedsFromStockOptionsExercised": {
     "auth_ref": [
      "r94",
      "r466"
     ],
     "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",
        "verboseLabel": "Proceeds from the exercise of stock options"
       }
      }
     },
     "localname": "ProceedsFromStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_PropertyPlantAndEquipmentNet": {
     "auth_ref": [
      "r11",
      "r12",
      "r331",
      "r646",
      "r765",
      "r782"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 8.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": "Property, Plant and Equipment, Net, Total"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentNet",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ProvisionForLoanAndLeaseLosses": {
     "auth_ref": [
      "r102",
      "r198",
      "r740"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 1.0,
       "parentTag": "us-gaap_NetCashProvidedByUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED": {
       "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": "Provisions (recapture)"
       }
      }
     },
     "localname": "ProvisionForLoanAndLeaseLosses",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_RealEstateOwnedTextBlock": {
     "auth_ref": [
      "r195"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwned"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_RealEstateTable": {
     "auth_ref": [
      "r832"
     ],
     "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/20220630/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_RepaymentsOfShortTermDebt": {
     "auth_ref": [
      "r97"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "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",
        "totalLabel": "Repayments of Short-term Debt, Total"
       }
      }
     },
     "localname": "RepaymentsOfShortTermDebt",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialMortgageBackedSecuritiesMember": {
     "auth_ref": [
      "r237",
      "r426"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfTDRSByLoanCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfAssetsMeasuredAtFairValueOnNonRecurringBasisExcludingAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ResidentialRealEstateMember": {
     "auth_ref": [
      "r300",
      "r426"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RestrictedInvestments": {
     "auth_ref": [
      "r829",
      "r830"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 5.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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RestrictedStockMember": {
     "auth_ref": [
      "r164"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RetainedEarningsAccumulatedDeficit": {
     "auth_ref": [
      "r22",
      "r414",
      "r475",
      "r646",
      "r780",
      "r803",
      "r808"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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"
       }
      }
     },
     "localname": "RetainedEarningsAccumulatedDeficit",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_RetainedEarningsMember": {
     "auth_ref": [
      "r2",
      "r127",
      "r128",
      "r129",
      "r134",
      "r144",
      "r146",
      "r283",
      "r471",
      "r472",
      "r473",
      "r494",
      "r495",
      "r571",
      "r799",
      "r801"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax": {
     "auth_ref": [
      "r176",
      "r177",
      "r181",
      "r186",
      "r187",
      "r191",
      "r192",
      "r193",
      "r418",
      "r419",
      "r702"
     ],
     "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",
        "terseLabel": "Fair value of servicing assets"
       }
      }
     },
     "localname": "RevenueFromContractWithCustomerIncludingAssessedTax",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable": {
     "auth_ref": [
      "r40"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfOutstandingLoanAndLeaseReceivablesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesScheduleOfUnpaidPrincipalBalanceAndCarryingValueForAcquiredNonImpairedLoansAndLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfBalancesForEachRespectiveLoanAndLeaseCategoryDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesSummaryOfOutstandingBalanceAndCarryingAmountOfAllAcquiredImpairedLoansDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock": {
     "auth_ref": [
      "r40"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r63",
      "r612",
      "r613"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfAvailableForSaleSecuritiesTable": {
     "auth_ref": [
      "r243",
      "r248",
      "r266",
      "r267",
      "r268",
      "r271",
      "r755",
      "r758"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfCashFlowHedgesIncludedInAccumulatedOtherComprehensiveIncomeLossTableTextBlock": {
     "auth_ref": [
      "r540"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable": {
     "auth_ref": [
      "r515"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of information about collaborative arrangement and arrangement other than collaborative applicable to revenue-generating activity or operations.",
        "label": "Collaborative Arrangement and Arrangement Other than Collaborative [Table]"
       }
      }
     },
     "localname": "ScheduleOfCollaborativeArrangementsAndNoncollaborativeArrangementTransactionsTable",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureBasisOfPresentationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock": {
     "auth_ref": [
      "r163"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfEarningsPerShareBasicByCommonClassTable": {
     "auth_ref": [
      "r153",
      "r157",
      "r161",
      "r163",
      "r168"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable": {
     "auth_ref": [
      "r441",
      "r462",
      "r476"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock": {
     "auth_ref": [
      "r441",
      "r462",
      "r476"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock": {
     "auth_ref": [
      "r575",
      "r576"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r538"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable": {
     "auth_ref": [
      "r290",
      "r853"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAllowanceForLoanAndLeaseLossesAndCorrespondingLoanAndLeaseBalancesDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable": {
     "auth_ref": [
      "r295",
      "r302"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivableTroubledDebtRestructuringsTable": {
     "auth_ref": [
      "r212",
      "r214"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureLoanAndLeaseReceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfFinancingReceivablesPastDueTable": {
     "auth_ref": [
      "r291",
      "r303"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfContractualDelinquencyInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfHeldToMaturitySecuritiesTable": {
     "auth_ref": [
      "r255",
      "r259",
      "r262"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfImpairedFinancingReceivableTable": {
     "auth_ref": [
      "r208"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfAverageRecordedInvestmentAndInterestIncomeRecognizedForLoansAndLeasesConsideredImpairedDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRecordedInvestmentUnpaidPrincipalBalanceAndRelatedAllowanceForLoansAndLeasesConsideredImpairedDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock": {
     "auth_ref": [
      "r317"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of goodwill and intangible assets, which may be broken down by segment or major class.",
        "label": "Schedule of Intangible Assets and Goodwill [Table Text Block]",
        "terseLabel": "Summary of Changes in Goodwill, Core Deposit Intangible Assets and Customer Relationship Intangible Assets"
       }
      }
     },
     "localname": "ScheduleOfIntangibleAssetsAndGoodwillTableTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfInvestmentsTable": {
     "auth_ref": [
      "r810"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfOtherDerivativesNotDesignatedAsHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock": {
     "auth_ref": [
      "r541",
      "r543"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDerivativeInstrumentsAndHedgeActivitiesTables"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfRealizedGainLossTableTextBlock": {
     "auth_ref": [
      "r270"
     ],
     "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 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/20220630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock": {
     "auth_ref": [
      "r681"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureServicingAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable": {
     "auth_ref": [
      "r442",
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock": {
     "auth_ref": [
      "r446"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock": {
     "auth_ref": [
      "r446",
      "r457",
      "r459"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfSharesSubjectToMandatoryRedemptionTable": {
     "auth_ref": [
      "r382",
      "r383",
      "r384"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTable": {
     "auth_ref": [
      "r36",
      "r113",
      "r171",
      "r172",
      "r385",
      "r387",
      "r388",
      "r390",
      "r391",
      "r392",
      "r393",
      "r395",
      "r399",
      "r404",
      "r407",
      "r408",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ScheduleOfStockByClassTextBlock": {
     "auth_ref": [
      "r17",
      "r18",
      "r19",
      "r386",
      "r387",
      "r388",
      "r407",
      "r408",
      "r410",
      "r411",
      "r412",
      "r413",
      "r414"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleOfUnrealizedLossOnInvestmentsTableTextBlock": {
     "auth_ref": [
      "r266"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_ScheduleofFiniteLivedIntangibleAssetsFutureAmortizationExpenseTableTextBlock": {
     "auth_ref": [
      "r323"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureGoodwillCoreDepositIntangibleAndOtherIntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SecuritiesReceivedAsCollateralAmountForeclosed": {
     "auth_ref": [
      "r195"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureOtherRealEstateOwnedChangeInOtherRealEstateOwnedDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SecuritiesSoldUnderAgreementsToRepurchase": {
     "auth_ref": [
      "r44",
      "r47",
      "r120",
      "r121",
      "r724"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails": {
       "order": 3.0,
       "parentTag": "us-gaap_OtherBorrowings",
       "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsSummaryOfOtherBorrowingsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_ServicingAssetAtFairValueAdditions": {
     "auth_ref": [
      "r683"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtFairValueAmount": {
     "auth_ref": [
      "r675",
      "r676",
      "r677",
      "r682"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions": {
     "auth_ref": [
      "r685"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureServicingAssetsActivityForServicingAssetsAndRelatedChangesInFairValueDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ServicingAssetMeasurementInput": {
     "auth_ref": [
      "r580"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "us-gaap_ServicingAssetValuationTechniqueExtensibleList": {
     "auth_ref": [
      "r579"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfUnobservableInputsUsedInFairValueMeasurementsOnRecurringBasisDetails"
     ],
     "xbrltype": "enumerationSetItemType"
    },
    "us-gaap_ShareBasedCompensation": {
     "auth_ref": [
      "r102"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED": {
       "order": 17.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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1": {
     "auth_ref": [
      "r443"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod": {
     "auth_ref": [
      "r451"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r456"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod": {
     "auth_ref": [
      "r454"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r454"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber": {
     "auth_ref": [
      "r453"
     ],
     "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"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r453"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod": {
     "auth_ref": [
      "r455"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodTotalFairValue": {
     "auth_ref": [
      "r458"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue": {
     "auth_ref": [
      "r455"
     ],
     "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/20220630/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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationTables"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant": {
     "auth_ref": [
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber": {
     "auth_ref": [
      "r449"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice": {
     "auth_ref": [
      "r449"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue": {
     "auth_ref": [
      "r458"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExpirationsInPeriod": {
     "auth_ref": [
      "r452"
     ],
     "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/20220630/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"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue": {
     "auth_ref": [
      "r465"
     ],
     "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",
        "periodEndLabel": "Intrinsic Value, Ending balance",
        "periodStartLabel": "Intrinsic Value, Beginning balance"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber": {
     "auth_ref": [
      "r448",
      "r465"
     ],
     "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",
        "terseLabel": "Number of shares outstanding"
       }
      }
     },
     "localname": "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice": {
     "auth_ref": [
      "r447"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "perShareItemType"
    },
    "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain": {
     "auth_ref": [
      "r440",
      "r445"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfChangesInRestrictedSharesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryOfStockCompensationExpenseDetails",
      "http://www.bylinebank.com/20220630/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/20220630/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/20220630/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": "Share-based Payment Arrangement, Tranche One [Member]"
       }
      }
     },
     "localname": "ShareBasedCompensationAwardTrancheOneMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod": {
     "auth_ref": [
      "r444"
     ],
     "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",
        "verboseLabel": "Award contractual term"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1": {
     "auth_ref": [
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1": {
     "auth_ref": [
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails"
     ],
     "xbrltype": "durationItemType"
    },
    "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2": {
     "auth_ref": [
      "r460"
     ],
     "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",
        "terseLabel": "Weighted Average Remaining Contractual Term (in Years)"
       }
      }
     },
     "localname": "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_ShortTermLeaseCost": {
     "auth_ref": [
      "r633",
      "r640"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SpecialMentionMember": {
     "auth_ref": [
      "r210",
      "r295"
     ],
     "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/20220630/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": "State and Local Jurisdiction"
       }
      }
     },
     "localname": "StateAndLocalJurisdictionMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureIncomeTaxesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_StatementClassOfStockAxis": {
     "auth_ref": [
      "r17",
      "r18",
      "r19",
      "r113",
      "r116",
      "r153",
      "r157",
      "r158",
      "r161",
      "r163",
      "r171",
      "r172",
      "r173",
      "r278",
      "r347",
      "r351",
      "r352",
      "r353",
      "r356",
      "r357",
      "r390",
      "r391",
      "r395",
      "r399",
      "r406",
      "r593",
      "r839"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StatementEquityComponentsAxis": {
     "auth_ref": [
      "r2",
      "r39",
      "r72",
      "r73",
      "r74",
      "r127",
      "r128",
      "r129",
      "r134",
      "r144",
      "r146",
      "r170",
      "r283",
      "r406",
      "r414",
      "r471",
      "r472",
      "r473",
      "r494",
      "r495",
      "r571",
      "r607",
      "r608",
      "r609",
      "r610",
      "r611",
      "r613",
      "r799",
      "r800",
      "r801",
      "r862"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by component of equity.",
        "label": "Equity Components [Axis]",
        "terseLabel": "Equity Components"
       }
      }
     },
     "localname": "StatementEquityComponentsAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "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": [
      "r127",
      "r128",
      "r129",
      "r170",
      "r702"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesAcquisitions": {
     "auth_ref": [
      "r18",
      "r19",
      "r414"
     ],
     "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 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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans": {
     "auth_ref": [
      "r18",
      "r19",
      "r406",
      "r414"
     ],
     "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"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardGross": {
     "auth_ref": [
      "r406",
      "r414"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised": {
     "auth_ref": [
      "r18",
      "r19",
      "r406",
      "r414",
      "r450"
     ],
     "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"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodSharesStockOptionsExercised",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationSummaryActivityInSharesSubjectedToOptionsAndWeightedAverageExercisePricesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueAcquisitions": {
     "auth_ref": [
      "r39",
      "r406",
      "r414"
     ],
     "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 due to business combination,net of issuance costs"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueAcquisitions",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan": {
     "auth_ref": [
      "r18",
      "r19",
      "r406",
      "r414"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueRestrictedStockAwardGross": {
     "auth_ref": [
      "r18",
      "r19",
      "r406",
      "r414"
     ],
     "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, net"
       }
      }
     },
     "localname": "StockIssuedDuringPeriodValueRestrictedStockAwardGross",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised": {
     "auth_ref": [
      "r39",
      "r406",
      "r414"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodShares": {
     "auth_ref": [
      "r406"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of stock bought back by the entity at the exercise price or redemption price.",
        "label": "Stock Redeemed or Called During Period, Shares",
        "terseLabel": "Redemption of preferred stock, Shares"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRedeemedOrCalledDuringPeriodValue": {
     "auth_ref": [
      "r406"
     ],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity impact of the value of stock bought back by the entity at the exercise price or redemption price.",
        "label": "Stock Redeemed or Called During Period, Value",
        "verboseLabel": "Redemption of preferred stock"
       }
      }
     },
     "localname": "StockRedeemedOrCalledDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodShares": {
     "auth_ref": [
      "r18",
      "r19",
      "r406",
      "r414"
     ],
     "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",
        "verboseLabel": "Number of shares purchased"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_StockRepurchasedDuringPeriodValue": {
     "auth_ref": [
      "r18",
      "r19",
      "r406",
      "r414"
     ],
     "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": "Repurchase of common stock",
        "verboseLabel": "Value of shares purchased"
       }
      }
     },
     "localname": "StockRepurchasedDuringPeriodValue",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquity": {
     "auth_ref": [
      "r19",
      "r24",
      "r25",
      "r116",
      "r221",
      "r278",
      "r593",
      "r646"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 1.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",
        "totalLabel": "Total stockholders\u2019 equity"
       }
      }
     },
     "localname": "StockholdersEquity",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureConsolidatedStatementsOfChangeInAccumulatedOtherComprehensiveIncomeLossScheduleOfConsolidatedStatementsOfChangesInAccumulatedOtherComprehensiveIncomeLossDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED",
      "http://www.bylinebank.com/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_StockholdersEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Stockholders' Equity Attributable to Parent [Abstract]",
        "terseLabel": "STOCKHOLDERS\u2019 EQUITY"
       }
      }
     },
     "localname": "StockholdersEquityAbstract",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_StockholdersEquityNoteDisclosureTextBlock": {
     "auth_ref": [
      "r114",
      "r391",
      "r394",
      "r395",
      "r396",
      "r397",
      "r398",
      "r399",
      "r400",
      "r401",
      "r402",
      "r403",
      "r405",
      "r414",
      "r417"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_SubleaseIncome": {
     "auth_ref": [
      "r635",
      "r640"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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",
        "negatedLabel": "Sublease Income",
        "terseLabel": "Sublease Income"
       }
      }
     },
     "localname": "SubleaseIncome",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureLeasesSummaryOfLeaseCostsAndCompanysOperatingLeasesDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureLeasesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_SubordinatedDebt": {
     "auth_ref": [
      "r13",
      "r16",
      "r719",
      "r778"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "order": 2.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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfEstimatedFairValuesOfFinancialInstrumentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventMember": {
     "auth_ref": [
      "r614",
      "r647"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubsequentEventTypeAxis": {
     "auth_ref": [
      "r614",
      "r647"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Axis]"
       }
      }
     },
     "localname": "SubsequentEventTypeAxis",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_SubsequentEventTypeDomain": {
     "auth_ref": [
      "r614",
      "r647"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
        "label": "Subsequent Event Type [Domain]"
       }
      }
     },
     "localname": "SubsequentEventTypeDomain",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SubstandardMember": {
     "auth_ref": [
      "r210",
      "r295"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_SummaryInvestmentHoldingsTextBlock": {
     "auth_ref": [
      "r820"
     ],
     "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, and Held to Maturity"
       }
      }
     },
     "localname": "SummaryInvestmentHoldingsTextBlock",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesTables"
     ],
     "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_TimeDepositMaturitiesTableTextBlock": {
     "auth_ref": [
      "r344"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDepositsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearFour": {
     "auth_ref": [
      "r344"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "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/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearOne": {
     "auth_ref": [
      "r344"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "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/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearThree": {
     "auth_ref": [
      "r344"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "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/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDepositMaturitiesYearTwo": {
     "auth_ref": [
      "r344"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails": {
       "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/20220630/taxonomy/role/DisclosureDepositsScheduledMaturityOfTimeDepositsDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TimeDeposits": {
     "auth_ref": [
      "r723",
      "r768"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureDepositsAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TradingSecurities": {
     "auth_ref": [
      "r730"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureSecuritiesAdditionalInformationDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TransferOfOtherRealEstate": {
     "auth_ref": [
      "r109",
      "r110",
      "r111"
     ],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Value transferred out of real estate owned (REO) in noncash transactions.",
        "label": "Real Estate Owned, Transfer from Real Estate Owned",
        "terseLabel": "Transfer of loans to other real estate owned"
       }
      }
     },
     "localname": "TransferOfOtherRealEstate",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUNAUDITED"
     ],
     "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_TransfersAndServicingOfFinancialAssetsTextBlock": {
     "auth_ref": [
      "r649",
      "r650",
      "r655",
      "r659",
      "r661",
      "r662",
      "r667",
      "r669",
      "r671",
      "r672",
      "r674",
      "r678",
      "r679",
      "r680",
      "r681",
      "r686",
      "r687",
      "r694",
      "r696",
      "r700"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureServicingAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain": {
     "auth_ref": [
      "r255",
      "r259",
      "r274",
      "r275",
      "r276",
      "r375",
      "r404",
      "r561",
      "r649",
      "r650",
      "r651",
      "r652",
      "r653",
      "r654",
      "r656",
      "r657",
      "r658",
      "r663",
      "r664",
      "r665",
      "r666",
      "r670",
      "r673",
      "r682",
      "r683",
      "r684",
      "r685",
      "r688",
      "r689",
      "r690",
      "r691",
      "r692",
      "r693",
      "r694",
      "r695",
      "r697",
      "r698",
      "r699",
      "r839",
      "r840",
      "r841",
      "r842",
      "r843",
      "r844",
      "r845"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureCommitmentsAndContingentLiabilitiesSummaryOfContractOrNotionalAmountOfOutstandingLoanAndLeaseCommitmentsDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesScheduleOfAmortizedCostAndFairValueOfDebtSecuritiesByContractualMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureServicingAssetsUnpaidPrincipalBalancesOfLoansServicedForOthersDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockCommonShares": {
     "auth_ref": [
      "r415"
     ],
     "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": "Common stock, voting treasury shares"
       }
      }
     },
     "localname": "TreasuryStockCommonShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/DisclosureStockholdersEquitySummaryOfPreferredAndCommonStockDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockMember": {
     "auth_ref": [
      "r38",
      "r415"
     ],
     "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/20220630/taxonomy/role/StatementCondensedConsolidatedStatementsOfChangesInStockholdersEquityUnaudited"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_TreasuryStockPreferredShares": {
     "auth_ref": [
      "r415"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of previously issued preferred shares repurchased by the issuing entity and held in treasury.",
        "label": "Treasury Stock, Preferred, Shares",
        "terseLabel": "Treasury preferred shares"
       }
      }
     },
     "localname": "TreasuryStockPreferredShares",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "sharesItemType"
    },
    "us-gaap_TreasuryStockValue": {
     "auth_ref": [
      "r38",
      "r415",
      "r416"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED": {
       "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",
        "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/20220630/taxonomy/role/Role_StatementCONDENSEDCONSOLIDATEDSTATEMENTSOFFINANCIALCONDITIONUNAUDITED"
     ],
     "xbrltype": "monetaryItemType"
    },
    "us-gaap_TroubledDebtRestructuringsOnFinancingReceivablesTableTextBlock": {
     "auth_ref": [
      "r212",
      "r214"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "us-gaap_TypeOfAdoptionMember": {
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r133",
      "r134",
      "r135",
      "r137",
      "r147",
      "r225",
      "r226",
      "r280",
      "r281",
      "r282",
      "r283",
      "r286",
      "r287",
      "r346",
      "r467",
      "r468",
      "r469",
      "r470",
      "r471",
      "r472",
      "r473",
      "r475",
      "r492",
      "r493",
      "r494",
      "r495",
      "r562",
      "r563",
      "r564",
      "r565",
      "r566",
      "r567",
      "r568",
      "r570",
      "r571",
      "r572",
      "r573",
      "r595",
      "r596",
      "r597",
      "r598",
      "r599",
      "r600",
      "r604",
      "r605",
      "r642",
      "r704",
      "r705",
      "r706",
      "r797",
      "r798",
      "r799",
      "r800",
      "r801",
      "r802",
      "r803",
      "r804",
      "r805",
      "r806",
      "r807",
      "r808",
      "r858",
      "r859",
      "r860",
      "r861",
      "r862"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USGovernmentAgenciesDebtSecuritiesMember": {
     "auth_ref": [
      "r122",
      "r426",
      "r754"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USStatesAndPoliticalSubdivisionsMember": {
     "auth_ref": [
      "r426",
      "r809"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesHeldToMaturityDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasuryNotesSecuritiesMember": {
     "auth_ref": [
      "r754"
     ],
     "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": "U.S. treasury notes"
       }
      }
     },
     "localname": "USTreasuryNotesSecuritiesMember",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfGrossUnrealizedLossesAndFairValuesAggregatedByInvestmentCategoryAndLengthOfIndividualSecuritiesContinuousUnrealizedLossPositionAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_USTreasurySecuritiesMember": {
     "auth_ref": [
      "r122",
      "r426",
      "r433",
      "r754"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSecuritiesSummaryOfAmortizedCostAndFairValuesOfSecuritiesAvailableForSaleDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_UnderlyingAssetClassDomain": {
     "auth_ref": [
      "r552"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureFairValueMeasurementSummaryOfFinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_UnlikelyToBeCollectedFinancingReceivableMember": {
     "auth_ref": [
      "r210",
      "r295"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureAllowanceForLoanAndLeaseLossesAndReserveForUnfundedCommitmentsSummaryOfRiskRatingCategoriesOfLoansAndLeasesConsideredForInclusionInAllowanceForLoanAndLeaseLossesCalculationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VariableLeaseCost": {
     "auth_ref": [
      "r634",
      "r640"
     ],
     "calculation": {
      "http://www.bylinebank.com/20220630/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/20220630/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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureAccountingPronouncementsRecentlyAdoptedOrIssuedAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureOtherBorrowingsAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureStockholdersEquityAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureSubordinatedNotesAndJuniorSubordinatedDebenturesJuniorSubordinatedDebenturesByIssuanceDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_VestingAxis": {
     "auth_ref": [
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_VestingDomain": {
     "auth_ref": [
      "r465"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureShareBasedCompensationAdditionalInformationDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding": {
     "auth_ref": [
      "r152",
      "r163"
     ],
     "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)",
        "verboseLabel": "Weighted-average common stock outstanding (dilutive)"
       }
      }
     },
     "localname": "WeightedAverageNumberOfDilutedSharesOutstanding",
     "nsuri": "http://fasb.org/us-gaap/2021-01-31",
     "presentation": [
      "http://www.bylinebank.com/20220630/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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic": {
     "auth_ref": [
      "r150",
      "r163"
     ],
     "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/20220630/taxonomy/role/Role_DisclosureEarningsPerShareAdditionalInformationDetails",
      "http://www.bylinebank.com/20220630/taxonomy/role/Role_DisclosureEarningsPerShareScheduleOfCalculationOfBasicAndDilutedEarningsPerShareDetails"
     ],
     "xbrltype": "sharesItemType"
    }
   },
   "unitCount": 7
  }
 },
 "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": "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"
  },
  "r100": {
   "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"
  },
  "r101": {
   "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"
  },
  "r102": {
   "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"
  },
  "r103": {
   "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"
  },
  "r104": {
   "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"
  },
  "r105": {
   "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"
  },
  "r106": {
   "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"
  },
  "r107": {
   "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"
  },
  "r108": {
   "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"
  },
  "r109": {
   "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"
  },
  "r11": {
   "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"
  },
  "r110": {
   "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"
  },
  "r111": {
   "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"
  },
  "r112": {
   "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"
  },
  "r113": {
   "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"
  },
  "r114": {
   "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"
  },
  "r115": {
   "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"
  },
  "r116": {
   "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"
  },
  "r117": {
   "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"
  },
  "r118": {
   "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"
  },
  "r119": {
   "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"
  },
  "r12": {
   "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"
  },
  "r120": {
   "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"
  },
  "r121": {
   "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"
  },
  "r122": {
   "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"
  },
  "r123": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(1)(iii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r124": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "S99",
   "SubTopic": "10",
   "Subparagraph": "(SX 210.4-08(m)(2)(ii))",
   "Topic": "235",
   "URI": "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r125": {
   "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"
  },
  "r126": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "235",
   "URI": "http://asc.fasb.org/topic&trid=2122369"
  },
  "r127": {
   "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"
  },
  "r128": {
   "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"
  },
  "r129": {
   "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"
  },
  "r13": {
   "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"
  },
  "r130": {
   "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"
  },
  "r131": {
   "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"
  },
  "r132": {
   "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"
  },
  "r133": {
   "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"
  },
  "r134": {
   "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"
  },
  "r135": {
   "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"
  },
  "r136": {
   "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"
  },
  "r137": {
   "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"
  },
  "r138": {
   "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"
  },
  "r139": {
   "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"
  },
  "r14": {
   "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"
  },
  "r140": {
   "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"
  },
  "r141": {
   "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"
  },
  "r142": {
   "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"
  },
  "r143": {
   "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"
  },
  "r144": {
   "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"
  },
  "r145": {
   "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"
  },
  "r146": {
   "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"
  },
  "r147": {
   "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"
  },
  "r148": {
   "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"
  },
  "r149": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "250",
   "URI": "http://asc.fasb.org/topic&trid=2122394"
  },
  "r15": {
   "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"
  },
  "r150": {
   "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"
  },
  "r151": {
   "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"
  },
  "r152": {
   "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"
  },
  "r153": {
   "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"
  },
  "r154": {
   "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"
  },
  "r155": {
   "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"
  },
  "r156": {
   "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"
  },
  "r157": {
   "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"
  },
  "r158": {
   "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"
  },
  "r159": {
   "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"
  },
  "r16": {
   "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"
  },
  "r160": {
   "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"
  },
  "r161": {
   "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"
  },
  "r162": {
   "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"
  },
  "r163": {
   "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"
  },
  "r164": {
   "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"
  },
  "r165": {
   "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"
  },
  "r166": {
   "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"
  },
  "r167": {
   "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"
  },
  "r168": {
   "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"
  },
  "r169": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "260",
   "URI": "http://asc.fasb.org/topic&trid=2144383"
  },
  "r17": {
   "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"
  },
  "r170": {
   "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"
  },
  "r171": {
   "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"
  },
  "r172": {
   "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"
  },
  "r173": {
   "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"
  },
  "r174": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "275",
   "URI": "http://asc.fasb.org/topic&trid=2134479"
  },
  "r175": {
   "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"
  },
  "r176": {
   "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"
  },
  "r177": {
   "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"
  },
  "r178": {
   "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"
  },
  "r179": {
   "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"
  },
  "r18": {
   "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"
  },
  "r180": {
   "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"
  },
  "r181": {
   "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"
  },
  "r182": {
   "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"
  },
  "r183": {
   "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"
  },
  "r184": {
   "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"
  },
  "r185": {
   "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"
  },
  "r186": {
   "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"
  },
  "r187": {
   "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"
  },
  "r188": {
   "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"
  },
  "r189": {
   "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"
  },
  "r19": {
   "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"
  },
  "r190": {
   "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"
  },
  "r191": {
   "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"
  },
  "r192": {
   "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"
  },
  "r193": {
   "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"
  },
  "r194": {
   "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"
  },
  "r195": {
   "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"
  },
  "r196": {
   "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"
  },
  "r197": {
   "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"
  },
  "r198": {
   "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"
  },
  "r199": {
   "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"
  },
  "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(3))",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r200": {
   "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"
  },
  "r201": {
   "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"
  },
  "r202": {
   "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"
  },
  "r203": {
   "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"
  },
  "r204": {
   "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"
  },
  "r205": {
   "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"
  },
  "r206": {
   "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"
  },
  "r207": {
   "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"
  },
  "r208": {
   "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"
  },
  "r209": {
   "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"
  },
  "r21": {
   "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"
  },
  "r210": {
   "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"
  },
  "r211": {
   "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"
  },
  "r212": {
   "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"
  },
  "r213": {
   "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"
  },
  "r214": {
   "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"
  },
  "r215": {
   "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"
  },
  "r216": {
   "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"
  },
  "r217": {
   "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"
  },
  "r218": {
   "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"
  },
  "r219": {
   "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"
  },
  "r22": {
   "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"
  },
  "r220": {
   "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"
  },
  "r221": {
   "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"
  },
  "r222": {
   "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"
  },
  "r223": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "10",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196772"
  },
  "r224": {
   "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"
  },
  "r225": {
   "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"
  },
  "r226": {
   "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"
  },
  "r227": {
   "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"
  },
  "r228": {
   "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"
  },
  "r229": {
   "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"
  },
  "r23": {
   "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"
  },
  "r230": {
   "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"
  },
  "r231": {
   "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"
  },
  "r232": {
   "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"
  },
  "r233": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "310",
   "URI": "http://asc.fasb.org/subtopic&trid=2196854"
  },
  "r234": {
   "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"
  },
  "r235": {
   "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"
  },
  "r236": {
   "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"
  },
  "r237": {
   "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"
  },
  "r238": {
   "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"
  },
  "r239": {
   "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"
  },
  "r24": {
   "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"
  },
  "r240": {
   "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"
  },
  "r241": {
   "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"
  },
  "r242": {
   "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"
  },
  "r243": {
   "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"
  },
  "r244": {
   "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"
  },
  "r245": {
   "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"
  },
  "r246": {
   "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"
  },
  "r247": {
   "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"
  },
  "r248": {
   "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"
  },
  "r249": {
   "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"
  },
  "r25": {
   "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"
  },
  "r250": {
   "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"
  },
  "r251": {
   "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"
  },
  "r252": {
   "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"
  },
  "r253": {
   "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"
  },
  "r254": {
   "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"
  },
  "r255": {
   "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"
  },
  "r256": {
   "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"
  },
  "r257": {
   "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"
  },
  "r258": {
   "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"
  },
  "r259": {
   "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"
  },
  "r26": {
   "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"
  },
  "r260": {
   "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"
  },
  "r261": {
   "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"
  },
  "r262": {
   "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"
  },
  "r263": {
   "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"
  },
  "r264": {
   "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"
  },
  "r265": {
   "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"
  },
  "r266": {
   "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"
  },
  "r267": {
   "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"
  },
  "r268": {
   "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"
  },
  "r269": {
   "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"
  },
  "r27": {
   "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"
  },
  "r270": {
   "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"
  },
  "r271": {
   "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"
  },
  "r272": {
   "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"
  },
  "r273": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "320",
   "URI": "http://asc.fasb.org/topic&trid=2196928"
  },
  "r274": {
   "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"
  },
  "r275": {
   "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"
  },
  "r276": {
   "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"
  },
  "r277": {
   "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"
  },
  "r278": {
   "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"
  },
  "r279": {
   "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"
  },
  "r28": {
   "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"
  },
  "r280": {
   "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"
  },
  "r281": {
   "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"
  },
  "r282": {
   "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"
  },
  "r283": {
   "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"
  },
  "r284": {
   "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"
  },
  "r285": {
   "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"
  },
  "r286": {
   "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"
  },
  "r287": {
   "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"
  },
  "r288": {
   "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"
  },
  "r289": {
   "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"
  },
  "r29": {
   "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"
  },
  "r290": {
   "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"
  },
  "r291": {
   "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"
  },
  "r292": {
   "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"
  },
  "r293": {
   "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"
  },
  "r294": {
   "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"
  },
  "r295": {
   "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"
  },
  "r296": {
   "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"
  },
  "r297": {
   "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"
  },
  "r298": {
   "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"
  },
  "r299": {
   "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"
  },
  "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.19-26)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r300": {
   "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"
  },
  "r301": {
   "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"
  },
  "r302": {
   "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"
  },
  "r303": {
   "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"
  },
  "r304": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "326",
   "URI": "http://asc.fasb.org/subtopic&trid=82887181"
  },
  "r305": {
   "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"
  },
  "r306": {
   "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"
  },
  "r307": {
   "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"
  },
  "r308": {
   "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"
  },
  "r309": {
   "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"
  },
  "r31": {
   "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"
  },
  "r310": {
   "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"
  },
  "r311": {
   "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"
  },
  "r312": {
   "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"
  },
  "r313": {
   "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"
  },
  "r314": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "30",
   "Topic": "326",
   "URI": "http://asc.fasb.org/subtopic&trid=82887182"
  },
  "r315": {
   "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"
  },
  "r316": {
   "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"
  },
  "r317": {
   "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"
  },
  "r318": {
   "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"
  },
  "r319": {
   "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"
  },
  "r32": {
   "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"
  },
  "r320": {
   "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"
  },
  "r321": {
   "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"
  },
  "r322": {
   "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"
  },
  "r323": {
   "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"
  },
  "r324": {
   "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"
  },
  "r325": {
   "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"
  },
  "r326": {
   "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"
  },
  "r327": {
   "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"
  },
  "r328": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "350",
   "URI": "http://asc.fasb.org/topic&trid=2144416"
  },
  "r329": {
   "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"
  },
  "r33": {
   "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"
  },
  "r330": {
   "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"
  },
  "r331": {
   "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"
  },
  "r332": {
   "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"
  },
  "r333": {
   "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"
  },
  "r334": {
   "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"
  },
  "r335": {
   "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"
  },
  "r336": {
   "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"
  },
  "r337": {
   "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"
  },
  "r338": {
   "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"
  },
  "r339": {
   "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"
  },
  "r34": {
   "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"
  },
  "r340": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "440",
   "URI": "http://asc.fasb.org/topic&trid=2144648"
  },
  "r341": {
   "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"
  },
  "r342": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "450",
   "URI": "http://asc.fasb.org/topic&trid=2127136"
  },
  "r343": {
   "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"
  },
  "r344": {
   "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"
  },
  "r345": {
   "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"
  },
  "r346": {
   "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"
  },
  "r347": {
   "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"
  },
  "r348": {
   "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"
  },
  "r349": {
   "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"
  },
  "r35": {
   "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"
  },
  "r350": {
   "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"
  },
  "r351": {
   "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"
  },
  "r352": {
   "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"
  },
  "r353": {
   "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"
  },
  "r354": {
   "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"
  },
  "r355": {
   "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"
  },
  "r356": {
   "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"
  },
  "r357": {
   "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"
  },
  "r358": {
   "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"
  },
  "r359": {
   "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"
  },
  "r36": {
   "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"
  },
  "r360": {
   "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"
  },
  "r361": {
   "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"
  },
  "r362": {
   "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"
  },
  "r363": {
   "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"
  },
  "r364": {
   "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"
  },
  "r365": {
   "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"
  },
  "r366": {
   "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"
  },
  "r367": {
   "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"
  },
  "r368": {
   "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"
  },
  "r369": {
   "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"
  },
  "r37": {
   "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"
  },
  "r370": {
   "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"
  },
  "r371": {
   "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"
  },
  "r372": {
   "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"
  },
  "r373": {
   "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"
  },
  "r374": {
   "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"
  },
  "r375": {
   "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"
  },
  "r376": {
   "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"
  },
  "r377": {
   "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"
  },
  "r378": {
   "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"
  },
  "r379": {
   "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"
  },
  "r38": {
   "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"
  },
  "r380": {
   "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"
  },
  "r381": {
   "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"
  },
  "r382": {
   "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"
  },
  "r383": {
   "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"
  },
  "r384": {
   "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"
  },
  "r385": {
   "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"
  },
  "r386": {
   "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"
  },
  "r387": {
   "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"
  },
  "r388": {
   "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"
  },
  "r389": {
   "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"
  },
  "r39": {
   "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"
  },
  "r390": {
   "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"
  },
  "r391": {
   "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"
  },
  "r392": {
   "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"
  },
  "r393": {
   "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"
  },
  "r394": {
   "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"
  },
  "r395": {
   "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"
  },
  "r396": {
   "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"
  },
  "r397": {
   "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"
  },
  "r398": {
   "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"
  },
  "r399": {
   "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"
  },
  "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.3,4)",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
  },
  "r400": {
   "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"
  },
  "r401": {
   "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"
  },
  "r402": {
   "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"
  },
  "r403": {
   "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"
  },
  "r404": {
   "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"
  },
  "r405": {
   "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"
  },
  "r406": {
   "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"
  },
  "r407": {
   "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"
  },
  "r408": {
   "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"
  },
  "r409": {
   "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"
  },
  "r41": {
   "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"
  },
  "r410": {
   "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"
  },
  "r411": {
   "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"
  },
  "r412": {
   "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"
  },
  "r413": {
   "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"
  },
  "r414": {
   "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"
  },
  "r415": {
   "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"
  },
  "r416": {
   "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"
  },
  "r417": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "505",
   "URI": "http://asc.fasb.org/topic&trid=2208762"
  },
  "r418": {
   "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"
  },
  "r419": {
   "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"
  },
  "r42": {
   "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"
  },
  "r420": {
   "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"
  },
  "r421": {
   "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"
  },
  "r422": {
   "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"
  },
  "r423": {
   "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"
  },
  "r424": {
   "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"
  },
  "r425": {
   "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"
  },
  "r426": {
   "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"
  },
  "r427": {
   "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"
  },
  "r428": {
   "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"
  },
  "r429": {
   "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"
  },
  "r43": {
   "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"
  },
  "r430": {
   "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"
  },
  "r431": {
   "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"
  },
  "r432": {
   "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"
  },
  "r433": {
   "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"
  },
  "r434": {
   "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"
  },
  "r435": {
   "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"
  },
  "r436": {
   "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"
  },
  "r437": {
   "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"
  },
  "r438": {
   "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"
  },
  "r439": {
   "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"
  },
  "r44": {
   "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"
  },
  "r440": {
   "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"
  },
  "r441": {
   "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"
  },
  "r442": {
   "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"
  },
  "r443": {
   "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"
  },
  "r444": {
   "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"
  },
  "r445": {
   "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"
  },
  "r446": {
   "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"
  },
  "r447": {
   "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"
  },
  "r448": {
   "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"
  },
  "r449": {
   "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"
  },
  "r45": {
   "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"
  },
  "r450": {
   "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"
  },
  "r451": {
   "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"
  },
  "r452": {
   "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"
  },
  "r453": {
   "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"
  },
  "r454": {
   "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"
  },
  "r455": {
   "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"
  },
  "r456": {
   "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"
  },
  "r457": {
   "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"
  },
  "r458": {
   "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"
  },
  "r459": {
   "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"
  },
  "r46": {
   "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"
  },
  "r460": {
   "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"
  },
  "r461": {
   "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"
  },
  "r462": {
   "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"
  },
  "r463": {
   "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"
  },
  "r464": {
   "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"
  },
  "r465": {
   "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"
  },
  "r466": {
   "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"
  },
  "r467": {
   "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"
  },
  "r468": {
   "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"
  },
  "r469": {
   "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"
  },
  "r47": {
   "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"
  },
  "r470": {
   "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"
  },
  "r471": {
   "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"
  },
  "r472": {
   "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"
  },
  "r473": {
   "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"
  },
  "r474": {
   "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"
  },
  "r475": {
   "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"
  },
  "r476": {
   "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"
  },
  "r477": {
   "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"
  },
  "r478": {
   "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"
  },
  "r479": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "718",
   "URI": "http://asc.fasb.org/topic&trid=2228938"
  },
  "r48": {
   "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"
  },
  "r480": {
   "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"
  },
  "r481": {
   "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"
  },
  "r482": {
   "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"
  },
  "r483": {
   "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"
  },
  "r484": {
   "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"
  },
  "r485": {
   "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"
  },
  "r486": {
   "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"
  },
  "r487": {
   "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"
  },
  "r488": {
   "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"
  },
  "r489": {
   "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"
  },
  "r49": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "16",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226024-175313"
  },
  "r490": {
   "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"
  },
  "r491": {
   "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"
  },
  "r492": {
   "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"
  },
  "r493": {
   "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"
  },
  "r494": {
   "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"
  },
  "r495": {
   "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"
  },
  "r496": {
   "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"
  },
  "r497": {
   "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"
  },
  "r498": {
   "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"
  },
  "r499": {
   "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"
  },
  "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": "20",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226038-175313"
  },
  "r500": {
   "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"
  },
  "r501": {
   "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"
  },
  "r502": {
   "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"
  },
  "r503": {
   "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"
  },
  "r504": {
   "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"
  },
  "r505": {
   "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"
  },
  "r506": {
   "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"
  },
  "r507": {
   "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"
  },
  "r508": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "740",
   "URI": "http://asc.fasb.org/topic&trid=2144680"
  },
  "r509": {
   "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"
  },
  "r51": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "21",
   "Publisher": "FASB",
   "Section": "55",
   "SubTopic": "20",
   "Topic": "210",
   "URI": "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226049-175313"
  },
  "r510": {
   "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"
  },
  "r511": {
   "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"
  },
  "r512": {
   "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"
  },
  "r513": {
   "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"
  },
  "r514": {
   "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"
  },
  "r515": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "1",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Topic": "808",
   "URI": "http://asc.fasb.org/extlink&oid=6931272&loc=SL5834143-161434"
  },
  "r516": {
   "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"
  },
  "r517": {
   "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"
  },
  "r518": {
   "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"
  },
  "r519": {
   "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"
  },
  "r52": {
   "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"
  },
  "r520": {
   "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"
  },
  "r521": {
   "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"
  },
  "r522": {
   "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"
  },
  "r523": {
   "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"
  },
  "r524": {
   "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"
  },
  "r525": {
   "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"
  },
  "r526": {
   "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"
  },
  "r527": {
   "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"
  },
  "r528": {
   "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"
  },
  "r529": {
   "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"
  },
  "r53": {
   "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"
  },
  "r530": {
   "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"
  },
  "r531": {
   "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"
  },
  "r532": {
   "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"
  },
  "r533": {
   "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"
  },
  "r534": {
   "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"
  },
  "r535": {
   "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"
  },
  "r536": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4B",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(d)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624163-113959"
  },
  "r537": {
   "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"
  },
  "r538": {
   "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"
  },
  "r539": {
   "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"
  },
  "r54": {
   "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"
  },
  "r540": {
   "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"
  },
  "r541": {
   "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"
  },
  "r542": {
   "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"
  },
  "r543": {
   "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"
  },
  "r544": {
   "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"
  },
  "r545": {
   "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"
  },
  "r546": {
   "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"
  },
  "r547": {
   "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"
  },
  "r548": {
   "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"
  },
  "r549": {
   "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"
  },
  "r55": {
   "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"
  },
  "r550": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "4H",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "10",
   "Subparagraph": "(e)",
   "Topic": "815",
   "URI": "http://asc.fasb.org/extlink&oid=125515794&loc=SL5624258-113959"
  },
  "r551": {
   "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"
  },
  "r552": {
   "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"
  },
  "r553": {
   "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"
  },
  "r554": {
   "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"
  },
  "r555": {
   "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"
  },
  "r556": {
   "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"
  },
  "r557": {
   "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"
  },
  "r558": {
   "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"
  },
  "r559": {
   "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"
  },
  "r56": {
   "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"
  },
  "r560": {
   "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"
  },
  "r561": {
   "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"
  },
  "r562": {
   "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"
  },
  "r563": {
   "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"
  },
  "r564": {
   "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"
  },
  "r565": {
   "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"
  },
  "r566": {
   "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"
  },
  "r567": {
   "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"
  },
  "r568": {
   "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"
  },
  "r569": {
   "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"
  },
  "r57": {
   "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"
  },
  "r570": {
   "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"
  },
  "r571": {
   "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"
  },
  "r572": {
   "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"
  },
  "r573": {
   "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"
  },
  "r574": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "815",
   "URI": "http://asc.fasb.org/topic&trid=2229140"
  },
  "r575": {
   "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"
  },
  "r576": {
   "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"
  },
  "r577": {
   "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"
  },
  "r578": {
   "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"
  },
  "r579": {
   "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"
  },
  "r58": {
   "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"
  },
  "r580": {
   "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"
  },
  "r581": {
   "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"
  },
  "r582": {
   "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"
  },
  "r583": {
   "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"
  },
  "r584": {
   "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"
  },
  "r585": {
   "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"
  },
  "r586": {
   "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"
  },
  "r587": {
   "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"
  },
  "r588": {
   "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"
  },
  "r589": {
   "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"
  },
  "r59": {
   "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"
  },
  "r590": {
   "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"
  },
  "r591": {
   "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"
  },
  "r592": {
   "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"
  },
  "r593": {
   "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"
  },
  "r594": {
   "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"
  },
  "r595": {
   "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"
  },
  "r596": {
   "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"
  },
  "r597": {
   "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"
  },
  "r598": {
   "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"
  },
  "r599": {
   "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"
  },
  "r6": {
   "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"
  },
  "r60": {
   "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"
  },
  "r600": {
   "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"
  },
  "r601": {
   "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"
  },
  "r602": {
   "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"
  },
  "r603": {
   "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"
  },
  "r604": {
   "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"
  },
  "r605": {
   "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"
  },
  "r606": {
   "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"
  },
  "r607": {
   "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"
  },
  "r608": {
   "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"
  },
  "r609": {
   "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"
  },
  "r61": {
   "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"
  },
  "r610": {
   "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"
  },
  "r611": {
   "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"
  },
  "r612": {
   "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"
  },
  "r613": {
   "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"
  },
  "r614": {
   "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"
  },
  "r615": {
   "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"
  },
  "r616": {
   "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"
  },
  "r617": {
   "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"
  },
  "r618": {
   "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"
  },
  "r619": {
   "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"
  },
  "r62": {
   "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"
  },
  "r620": {
   "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"
  },
  "r621": {
   "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"
  },
  "r622": {
   "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"
  },
  "r623": {
   "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"
  },
  "r624": {
   "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"
  },
  "r625": {
   "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"
  },
  "r626": {
   "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"
  },
  "r627": {
   "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"
  },
  "r628": {
   "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"
  },
  "r629": {
   "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"
  },
  "r63": {
   "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"
  },
  "r630": {
   "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"
  },
  "r631": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "3",
   "Publisher": "FASB",
   "Section": "50",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/extlink&oid=123408670&loc=SL77918673-209980"
  },
  "r632": {
   "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"
  },
  "r633": {
   "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"
  },
  "r634": {
   "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"
  },
  "r635": {
   "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"
  },
  "r636": {
   "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"
  },
  "r637": {
   "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"
  },
  "r638": {
   "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"
  },
  "r639": {
   "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"
  },
  "r64": {
   "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"
  },
  "r640": {
   "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"
  },
  "r641": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "20",
   "Topic": "842",
   "URI": "http://asc.fasb.org/subtopic&trid=77888251"
  },
  "r642": {
   "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"
  },
  "r643": {
   "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"
  },
  "r644": {
   "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"
  },
  "r645": {
   "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"
  },
  "r646": {
   "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"
  },
  "r647": {
   "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"
  },
  "r648": {
   "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"
  },
  "r649": {
   "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"
  },
  "r65": {
   "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"
  },
  "r650": {
   "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"
  },
  "r651": {
   "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"
  },
  "r652": {
   "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"
  },
  "r653": {
   "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"
  },
  "r654": {
   "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"
  },
  "r655": {
   "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"
  },
  "r656": {
   "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"
  },
  "r657": {
   "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"
  },
  "r658": {
   "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"
  },
  "r659": {
   "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"
  },
  "r66": {
   "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"
  },
  "r660": {
   "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"
  },
  "r661": {
   "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"
  },
  "r662": {
   "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"
  },
  "r663": {
   "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"
  },
  "r664": {
   "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"
  },
  "r665": {
   "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"
  },
  "r666": {
   "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"
  },
  "r667": {
   "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"
  },
  "r668": {
   "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"
  },
  "r669": {
   "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"
  },
  "r67": {
   "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"
  },
  "r670": {
   "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"
  },
  "r671": {
   "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"
  },
  "r672": {
   "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"
  },
  "r673": {
   "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"
  },
  "r674": {
   "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"
  },
  "r675": {
   "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"
  },
  "r676": {
   "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"
  },
  "r677": {
   "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"
  },
  "r678": {
   "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"
  },
  "r679": {
   "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"
  },
  "r68": {
   "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"
  },
  "r680": {
   "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"
  },
  "r681": {
   "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"
  },
  "r682": {
   "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"
  },
  "r683": {
   "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"
  },
  "r684": {
   "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"
  },
  "r685": {
   "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"
  },
  "r686": {
   "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"
  },
  "r687": {
   "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"
  },
  "r688": {
   "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"
  },
  "r689": {
   "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"
  },
  "r69": {
   "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"
  },
  "r690": {
   "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"
  },
  "r691": {
   "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"
  },
  "r692": {
   "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"
  },
  "r693": {
   "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"
  },
  "r694": {
   "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"
  },
  "r695": {
   "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"
  },
  "r696": {
   "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"
  },
  "r697": {
   "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"
  },
  "r698": {
   "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"
  },
  "r699": {
   "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"
  },
  "r7": {
   "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"
  },
  "r70": {
   "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"
  },
  "r700": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "860",
   "URI": "http://asc.fasb.org/topic&trid=2197590"
  },
  "r701": {
   "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"
  },
  "r702": {
   "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"
  },
  "r703": {
   "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"
  },
  "r704": {
   "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"
  },
  "r705": {
   "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"
  },
  "r706": {
   "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"
  },
  "r707": {
   "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"
  },
  "r708": {
   "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"
  },
  "r709": {
   "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"
  },
  "r71": {
   "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"
  },
  "r710": {
   "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"
  },
  "r711": {
   "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"
  },
  "r712": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "940",
   "URI": "http://asc.fasb.org/subtopic&trid=2176304"
  },
  "r713": {
   "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"
  },
  "r714": {
   "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"
  },
  "r715": {
   "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"
  },
  "r716": {
   "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"
  },
  "r717": {
   "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"
  },
  "r718": {
   "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"
  },
  "r719": {
   "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"
  },
  "r72": {
   "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"
  },
  "r720": {
   "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"
  },
  "r721": {
   "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"
  },
  "r722": {
   "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"
  },
  "r723": {
   "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"
  },
  "r724": {
   "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"
  },
  "r725": {
   "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"
  },
  "r726": {
   "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"
  },
  "r727": {
   "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"
  },
  "r728": {
   "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"
  },
  "r729": {
   "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"
  },
  "r73": {
   "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"
  },
  "r730": {
   "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"
  },
  "r731": {
   "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"
  },
  "r732": {
   "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"
  },
  "r733": {
   "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"
  },
  "r734": {
   "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"
  },
  "r735": {
   "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"
  },
  "r736": {
   "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"
  },
  "r737": {
   "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"
  },
  "r738": {
   "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"
  },
  "r739": {
   "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"
  },
  "r74": {
   "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"
  },
  "r740": {
   "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"
  },
  "r741": {
   "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"
  },
  "r742": {
   "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"
  },
  "r743": {
   "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"
  },
  "r744": {
   "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"
  },
  "r745": {
   "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"
  },
  "r746": {
   "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"
  },
  "r747": {
   "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"
  },
  "r748": {
   "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"
  },
  "r749": {
   "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"
  },
  "r75": {
   "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"
  },
  "r750": {
   "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"
  },
  "r751": {
   "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"
  },
  "r752": {
   "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"
  },
  "r753": {
   "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"
  },
  "r754": {
   "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"
  },
  "r755": {
   "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"
  },
  "r756": {
   "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"
  },
  "r757": {
   "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"
  },
  "r758": {
   "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"
  },
  "r759": {
   "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"
  },
  "r76": {
   "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"
  },
  "r760": {
   "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"
  },
  "r761": {
   "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"
  },
  "r762": {
   "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"
  },
  "r763": {
   "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"
  },
  "r764": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "942",
   "URI": "http://asc.fasb.org/subtopic&trid=2209399"
  },
  "r765": {
   "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"
  },
  "r766": {
   "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"
  },
  "r767": {
   "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"
  },
  "r768": {
   "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"
  },
  "r769": {
   "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"
  },
  "r77": {
   "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"
  },
  "r770": {
   "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"
  },
  "r771": {
   "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"
  },
  "r772": {
   "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"
  },
  "r773": {
   "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"
  },
  "r774": {
   "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"
  },
  "r775": {
   "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"
  },
  "r776": {
   "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"
  },
  "r777": {
   "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"
  },
  "r778": {
   "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"
  },
  "r779": {
   "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"
  },
  "r78": {
   "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"
  },
  "r780": {
   "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"
  },
  "r781": {
   "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"
  },
  "r782": {
   "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"
  },
  "r783": {
   "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"
  },
  "r784": {
   "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"
  },
  "r785": {
   "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"
  },
  "r786": {
   "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"
  },
  "r787": {
   "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"
  },
  "r788": {
   "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"
  },
  "r789": {
   "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"
  },
  "r79": {
   "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"
  },
  "r790": {
   "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"
  },
  "r791": {
   "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"
  },
  "r792": {
   "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"
  },
  "r793": {
   "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"
  },
  "r794": {
   "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"
  },
  "r795": {
   "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"
  },
  "r796": {
   "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"
  },
  "r797": {
   "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"
  },
  "r798": {
   "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"
  },
  "r799": {
   "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"
  },
  "r8": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "205",
   "URI": "http://asc.fasb.org/topic&trid=2122149"
  },
  "r80": {
   "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"
  },
  "r800": {
   "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"
  },
  "r801": {
   "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"
  },
  "r802": {
   "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"
  },
  "r803": {
   "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"
  },
  "r804": {
   "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"
  },
  "r805": {
   "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"
  },
  "r806": {
   "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"
  },
  "r807": {
   "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"
  },
  "r808": {
   "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"
  },
  "r809": {
   "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"
  },
  "r81": {
   "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"
  },
  "r810": {
   "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"
  },
  "r811": {
   "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"
  },
  "r812": {
   "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"
  },
  "r813": {
   "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"
  },
  "r814": {
   "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"
  },
  "r815": {
   "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"
  },
  "r816": {
   "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"
  },
  "r817": {
   "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"
  },
  "r818": {
   "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"
  },
  "r819": {
   "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"
  },
  "r82": {
   "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"
  },
  "r820": {
   "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"
  },
  "r821": {
   "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"
  },
  "r822": {
   "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"
  },
  "r823": {
   "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"
  },
  "r824": {
   "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"
  },
  "r825": {
   "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"
  },
  "r826": {
   "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"
  },
  "r827": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "SubTopic": "320",
   "Topic": "946",
   "URI": "http://asc.fasb.org/subtopic&trid=2324412"
  },
  "r828": {
   "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"
  },
  "r829": {
   "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"
  },
  "r83": {
   "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"
  },
  "r830": {
   "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"
  },
  "r831": {
   "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"
  },
  "r832": {
   "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"
  },
  "r833": {
   "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"
  },
  "r834": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b"
  },
  "r835": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r836": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1"
  },
  "r837": {
   "Name": "Form 10-Q",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "308",
   "Subsection": "a"
  },
  "r838": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1"
  },
  "r839": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1402"
  },
  "r84": {
   "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"
  },
  "r840": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(1)"
  },
  "r841": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)"
  },
  "r842": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(3)"
  },
  "r843": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(i)"
  },
  "r844": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(ii)"
  },
  "r845": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1402",
   "Subparagraph": "(2)(iii)"
  },
  "r846": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1403"
  },
  "r847": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r848": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(b)",
   "Publisher": "SEC",
   "Section": "1404"
  },
  "r849": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(1)"
  },
  "r85": {
   "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"
  },
  "r850": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(2)"
  },
  "r851": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(3)"
  },
  "r852": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(a)",
   "Publisher": "SEC",
   "Section": "1405",
   "Subparagraph": "(4)"
  },
  "r853": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(c)",
   "Publisher": "SEC",
   "Section": "1405"
  },
  "r854": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r855": {
   "Name": "Regulation S-K (SK)",
   "Number": "229",
   "Paragraph": "(e)",
   "Publisher": "SEC",
   "Section": "1406"
  },
  "r856": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405"
  },
  "r857": {
   "Name": "Securities Act",
   "Number": "7A",
   "Publisher": "SEC",
   "Section": "B",
   "Subsection": "2"
  },
  "r858": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)",
   "Topic": "848"
  },
  "r859": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(1)",
   "Topic": "848"
  },
  "r86": {
   "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"
  },
  "r860": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(2)",
   "Topic": "848"
  },
  "r861": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(01)",
   "Topic": "848"
  },
  "r862": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(a)(3)(iii)(03)",
   "Topic": "848"
  },
  "r863": {
   "Name": "Accounting Standards Codification",
   "Paragraph": "2",
   "Publisher": "FASB",
   "Section": "65",
   "SubTopic": "10",
   "Subparagraph": "(c)",
   "Topic": "848"
  },
  "r87": {
   "Name": "Accounting Standards Codification",
   "Publisher": "FASB",
   "Topic": "220",
   "URI": "http://asc.fasb.org/topic&trid=2134417"
  },
  "r88": {
   "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"
  },
  "r89": {
   "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"
  },
  "r9": {
   "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"
  },
  "r90": {
   "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"
  },
  "r91": {
   "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"
  },
  "r92": {
   "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"
  },
  "r93": {
   "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"
  },
  "r94": {
   "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"
  },
  "r95": {
   "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"
  },
  "r96": {
   "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"
  },
  "r97": {
   "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"
  },
  "r98": {
   "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"
  },
  "r99": {
   "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"
  }
 },
 "version": "2.1"
}
