XML 90 R78.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Securities - Additional Information (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 USD ($) Security | Dec. 31, 2023 USD ($) Security | Dec. 31, 2022 USD ($)
Schedule Of Investments [Line Items] |  |  |
Trading securities | $ 0 | $ 0 |
Securities available-for-sale and held-to-maturity | 4,900 | 4,500 |
Sale of securities | 8,949 | 163,649 | $ 23,293
Investment securities pledged as collateral | $ 540,000 | $ 464,500 |
Minimum |  |  |
Schedule Of Investments [Line Items] |  |  |
Percentage of shareholders equity for which securities holdings exceeds for no issuer other than U.S. Government and agencies | 10.00% | 10.00% |
Federal Home Loan Bank Advances |  |  |
Schedule Of Investments [Line Items] |  |  |
Carrying amount of securities pledged as collateral | $ 0 | $ 0 |
Public Fund Deposits |  |  |
Schedule Of Investments [Line Items] |  |  |
Carrying amount of securities pledged as collateral | 471,200 | 390,300 |
Customer Repurchase Agreements |  |  |
Schedule Of Investments [Line Items] |  |  |
Carrying amount of securities pledged as collateral | $ 42,000 | $ 47,800 |
Available-for-sale Securities |  |  |
Schedule Of Investments [Line Items] |  |  |
Investment securities with unrealized losses | Security | 334 | 283 |
Held-to-maturity Securities |  |  |
Schedule Of Investments [Line Items] |  |  |
Investment securities with unrealized losses | Security | 1 | 2 |

X
- Definition Investment securities pledged as collateral. + References No definition available. + Details
Name: | by_InvestmentSecuritiesPledgedAsCollateral
Namespace Prefix: | by_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Investment securities pledged carrying amount. + References No definition available. + Details
Name: | by_InvestmentSecuritiesPledgedCarryingAmount
Namespace Prefix: | by_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of investment securities with unrealized losses. + References No definition available. + Details
Name: | by_NumberOfInvestmentSecuritiesWithUnrealizedLosses
Namespace Prefix: | by_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Percentage of shareholders equity for which securities holdings exceeds for no issuer other than U.S. Government and agencies. + References No definition available. + Details
Name: | by_PercentageOfShareholdersEquityForWhichSecuritiesHoldingsExceedsForNoIssuerOtherThanUSGovernmentAndAgencies
Namespace Prefix: | by_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount, after allowance for credit loss, of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition 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). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481830/320-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-9 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 12 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-12 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-11 + Details
Name: | us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition 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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 4)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 2)(i)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 2)(ii)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column A)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column B)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 18: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 20: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 21: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 8)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 22: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 23: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.12-12(Column C)(Footnote 10)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-1 Reference 24: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 25: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 26: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 27: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column D)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 28: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 1)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 1)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 4)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 6)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 35: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column A)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 36: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 37: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column B)(Footnote 10)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 38: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 39: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 40: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 41: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 42: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(b)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 43: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 44: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 11)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 45: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 46: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-12B(Column C)(Footnote 13)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-3 Reference 47: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 48: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column B)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 49: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 50: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(a)(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 51: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 52: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(a)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 53: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 54: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 55: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 56: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 57: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 1)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 58: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column A)(Footnote 3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 59: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 60: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 5)(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 61: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 7)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 62: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 8)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 63: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 6 -Subparagraph (SX 210.12-14(Column F)(Footnote 9)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-6 Reference 64: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 19 -Subparagraph (1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-19 Reference 65: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 320 -Name Accounting Standards Codification -Section S99 -Paragraph 19 -Subparagraph (3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147477271/946-320-S99-19 + Details
Name: | us-gaap_ScheduleOfInvestmentsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition 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). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483467/210-10-45-1 + Details
Name: | us-gaap_TradingSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_FederalHomeLoanBankAdvancesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=by_PublicFundDepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_RepurchaseAgreementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=us-gaap_AvailableforsaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InformationByCategoryOfDebtSecurityAxis=us-gaap_HeldtomaturitySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |