<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.23.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>892</ContextCount>
  <ElementCount>628</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>142</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>000 - Document - Document And Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-document-and-entity-information</Role>
      <ShortName>Document And Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>001 - Statement - Condensed Consolidated Balance Sheets (Current Period Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-condensed-consolidated-balance-sheets-current-period-unaudited</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Current Period Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>002 - Statement - Condensed Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-condensed-consolidated-balance-sheets-current-period-unaudited-parentheticals</Role>
      <ShortName>Condensed Consolidated Balance Sheets (Current Period Unaudited) (Parentheticals)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>003 - Statement - Condensed Consolidated Statements of Income (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-condensed-consolidated-statements-of-income-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Income (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>004 - Statement - Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-condensed-consolidated-statements-of-comprehensive-income-loss-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Comprehensive Income (Loss) (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>005 - Statement - Condensed Consolidated Statements of Changes in Stockholders' Equity (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-condensed-consolidated-statements-of-changes-in-stockholders-equity-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Changes in Stockholders' Equity (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>007 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-condensed-consolidated-statements-of-cash-flows-unaudited</Role>
      <ShortName>Condensed Consolidated Statements of Cash Flows (Unaudited)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>008 - Disclosure - Note 1 - Summary of Significant Accounting Policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-1-summary-of-significant-accounting-policies</Role>
      <ShortName>Note 1 - Summary of Significant Accounting Policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>009 - Disclosure - Note 2 - Bank Acquisition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition</Role>
      <ShortName>Note 2 - Bank Acquisition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>010 - Disclosure - Note 3 - Investment Securities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-3-investment-securities</Role>
      <ShortName>Note 3 - Investment Securities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>011 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>012 - Disclosure - Note 5 - Goodwill</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-5-goodwill</Role>
      <ShortName>Note 5 - Goodwill</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>013 - Disclosure - Note 6 - Core Deposit and Customer List Intangible Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-6-core-deposit-and-customer-list-intangible-assets</Role>
      <ShortName>Note 6 - Core Deposit and Customer List Intangible Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>014 - Disclosure - Note 7 - Other Assets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-7-other-assets-</Role>
      <ShortName>Note 7 - Other Assets</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>015 - Disclosure - Note 8 - Income Taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-8-income-taxes</Role>
      <ShortName>Note 8 - Income Taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>016 - Disclosure - Note 9 - Deposits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-9-deposits</Role>
      <ShortName>Note 9 - Deposits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>017 - Disclosure - Note 10 - Securities Sold Under Agreements to Repurchase</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-10-securities-sold-under-agreements-to-repurchase</Role>
      <ShortName>Note 10 - Securities Sold Under Agreements to Repurchase</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>018 - Disclosure - Note 11 - Subordinated Debentures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-11-subordinated-debentures</Role>
      <ShortName>Note 11 - Subordinated Debentures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>019 - Disclosure - Note 12 - FHLB Advances and Other Borrowings</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-12-fhlb-advances-and-other-borrowings</Role>
      <ShortName>Note 12 - FHLB Advances and Other Borrowings</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>020 - Disclosure - Note 13 - Commitments and Contingent Liabilities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-13-commitments-and-contingent-liabilities</Role>
      <ShortName>Note 13 - Commitments and Contingent Liabilities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>021 - Disclosure - Note 14 - Assets and Liabilities Measured and Reported at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value</Role>
      <ShortName>Note 14 - Assets and Liabilities Measured and Reported at Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>022 - Disclosure - Note 15 - Disclosure of Financial Instruments Not Reported at Fair Value</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-15-disclosure-of-financial-instruments-not-reported-at-fair-value</Role>
      <ShortName>Note 15 - Disclosure of Financial Instruments Not Reported at Fair Value</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>023 - Disclosure - Note 16 - Mortgage Banking Activities</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities</Role>
      <ShortName>Note 16 - Mortgage Banking Activities</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>024 - Disclosure - Note 17 - Accumulated Other Comprehensive Income (Loss)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-17-accumulated-other-comprehensive-income-loss</Role>
      <ShortName>Note 17 - Accumulated Other Comprehensive Income (Loss)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>025 - Disclosure - Note 18 - Preferred Stock</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-18-preferred-stock</Role>
      <ShortName>Note 18 - Preferred Stock</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>026 - Disclosure - Note 19 - Net Income Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-19-net-income-per-share</Role>
      <ShortName>Note 19 - Net Income Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>027 - Disclosure - Note 20 - Stock-based Compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation</Role>
      <ShortName>Note 20 - Stock-based Compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>028 - Disclosure - Note 21 - Derivative Financial Instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-21-derivative-financial-instruments</Role>
      <ShortName>Note 21 - Derivative Financial Instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>029 - Disclosure - Note 22 - Regulatory Matters</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-22-regulatory-matters</Role>
      <ShortName>Note 22 - Regulatory Matters</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>29</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>030 - Disclosure - Note 23 - Segments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-23-segments</Role>
      <ShortName>Note 23 - Segments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>30</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>031 - Disclosure - Note 24 - Revenue From Contracts With Customers</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-24-revenue-from-contracts-with-customers</Role>
      <ShortName>Note 24 - Revenue From Contracts With Customers</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>31</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>032 - Disclosure - Note 25 - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-25-leases</Role>
      <ShortName>Note 25 - Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>32</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>033 - Disclosure - Significant Accounting Policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-significant-accounting-policies-policies</Role>
      <ShortName>Significant Accounting Policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-1-summary-of-significant-accounting-policies</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>034 - Disclosure - Note 2 - Bank Acquisition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition-tables</Role>
      <ShortName>Note 2 - Bank Acquisition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>035 - Disclosure - Note 3 - Investment Securities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-3-investment-securities-tables</Role>
      <ShortName>Note 3 - Investment Securities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-3-investment-securities</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>036 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-tables</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>037 - Disclosure - Note 5 - Goodwill (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-5-goodwill-tables</Role>
      <ShortName>Note 5 - Goodwill (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-5-goodwill</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>038 - Disclosure - Note 6 - Core Deposit and Customer List Intangible Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-6-core-deposit-and-customer-list-intangible-assets-tables</Role>
      <ShortName>Note 6 - Core Deposit and Customer List Intangible Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-6-core-deposit-and-customer-list-intangible-assets</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>039 - Disclosure - Note 7 - Other Assets (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-7-other-assets-tables</Role>
      <ShortName>Note 7 - Other Assets (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-7-other-assets-</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>040 - Disclosure - Note 8 - Income Taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-8-income-taxes-tables</Role>
      <ShortName>Note 8 - Income Taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-8-income-taxes</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>041 - Disclosure - Note 9 - Deposits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-9-deposits-tables</Role>
      <ShortName>Note 9 - Deposits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-9-deposits</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>042 - Disclosure - Note 10 - Securities Sold Under Agreements to Repurchase (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-10-securities-sold-under-agreements-to-repurchase-tables</Role>
      <ShortName>Note 10 - Securities Sold Under Agreements to Repurchase (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-10-securities-sold-under-agreements-to-repurchase</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>043 - Disclosure - Note 11 - Subordinated Debentures (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-11-subordinated-debentures-tables</Role>
      <ShortName>Note 11 - Subordinated Debentures (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-11-subordinated-debentures</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>044 - Disclosure - Note 12 - FHLB Advances and Other Borrowings (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-12-fhlb-advances-and-other-borrowings-tables</Role>
      <ShortName>Note 12 - FHLB Advances and Other Borrowings (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-12-fhlb-advances-and-other-borrowings</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>045 - Disclosure - Note 13 - Commitments and Contingent Liabilities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-13-commitments-and-contingent-liabilities-tables</Role>
      <ShortName>Note 13 - Commitments and Contingent Liabilities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-13-commitments-and-contingent-liabilities</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>046 - Disclosure - Note 14 - Assets and Liabilities Measured and Reported at Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value-tables</Role>
      <ShortName>Note 14 - Assets and Liabilities Measured and Reported at Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>047 - Disclosure - Note 15 - Disclosure of Financial Instruments Not Reported at Fair Value (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-15-disclosure-of-financial-instruments-not-reported-at-fair-value-tables</Role>
      <ShortName>Note 15 - Disclosure of Financial Instruments Not Reported at Fair Value (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-15-disclosure-of-financial-instruments-not-reported-at-fair-value</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>048 - Disclosure - Note 16 - Mortgage Banking Activities (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities-tables</Role>
      <ShortName>Note 16 - Mortgage Banking Activities (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>049 - Disclosure - Note 17 - Accumulated Other Comprehensive Income (Loss) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-17-accumulated-other-comprehensive-income-loss-tables</Role>
      <ShortName>Note 17 - Accumulated Other Comprehensive Income (Loss) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-17-accumulated-other-comprehensive-income-loss</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>050 - Disclosure - Note 19 - Net Income Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-19-net-income-per-share-tables</Role>
      <ShortName>Note 19 - Net Income Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-19-net-income-per-share</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>051 - Disclosure - Note 20 - Stock-based Compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-tables</Role>
      <ShortName>Note 20 - Stock-based Compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>052 - Disclosure - Note 21 - Derivative Financial Instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-21-derivative-financial-instruments-tables</Role>
      <ShortName>Note 21 - Derivative Financial Instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-21-derivative-financial-instruments</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>053 - Disclosure - Note 22 - Regulatory Matters (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-22-regulatory-matters-tables</Role>
      <ShortName>Note 22 - Regulatory Matters (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-22-regulatory-matters</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>054 - Disclosure - Note 23 - Segments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-23-segments-tables</Role>
      <ShortName>Note 23 - Segments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-23-segments</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>055 - Disclosure - Note 24 - Revenue From Contracts With Customers (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-24-revenue-from-contracts-with-customers-tables</Role>
      <ShortName>Note 24 - Revenue From Contracts With Customers (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-24-revenue-from-contracts-with-customers</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>056 - Disclosure - Note 25 - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-25-leases-tables</Role>
      <ShortName>Note 25 - Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-25-leases</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>057 - Disclosure - Note 2 - Bank Acquisition (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition-details-textual</Role>
      <ShortName>Note 2 - Bank Acquisition (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition-tables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>058 - Disclosure - Note 2 - Bank Acquisition - Summary of Assets Acquired and Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition-summary-of-assets-acquired-and-liabilities-assumed-details</Role>
      <ShortName>Note 2 - Bank Acquisition - Summary of Assets Acquired and Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>059 - Disclosure - Note 2 - Bank Acquisition - Loans Fair Value Adjustment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition-loans-fair-value-adjustment-details</Role>
      <ShortName>Note 2 - Bank Acquisition - Loans Fair Value Adjustment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>060 - Disclosure - Note 2 - Bank Acquisition - Net Adjustments to Allowance for Credit Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition-net-adjustments-to-allowance-for-credit-losses-details</Role>
      <ShortName>Note 2 - Bank Acquisition - Net Adjustments to Allowance for Credit Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>061 - Disclosure - Note 2 - Bank Acquisition - Unaudited Pro Forma Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-2-bank-acquisition-unaudited-pro-forma-information-details</Role>
      <ShortName>Note 2 - Bank Acquisition - Unaudited Pro Forma Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>062 - Disclosure - Note 3 - Investment Securities (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-3-investment-securities-details-textual</Role>
      <ShortName>Note 3 - Investment Securities (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-3-investment-securities-tables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>063 - Disclosure - Note 3 - Investment Securities - Available-for-sale Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-3-investment-securities-availableforsale-securities-details</Role>
      <ShortName>Note 3 - Investment Securities - Available-for-sale Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>064 - Disclosure - Note 3 - Investment Securities - Held to Maturity Securities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-3-investment-securities-held-to-maturity-securities-details</Role>
      <ShortName>Note 3 - Investment Securities - Held to Maturity Securities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>065 - Disclosure - Note 3 - Investment Securities - Securities by Contractual Maturity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-3-investment-securities-securities-by-contractual-maturity-details</Role>
      <ShortName>Note 3 - Investment Securities - Securities by Contractual Maturity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>066 - Disclosure - Note 3 - Investment Securities - Securities With Unrealized Losses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-3-investment-securities-securities-with-unrealized-losses-details</Role>
      <ShortName>Note 3 - Investment Securities - Securities With Unrealized Losses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>66</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>067 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-details-textual</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-tables</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>068 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - Loans by Loan Portfolio Class (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-loans-by-loan-portfolio-class-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - Loans by Loan Portfolio Class (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>069 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - PCD Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-pcd-loans-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - PCD Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-tables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>070 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - Allowance for Loan Losses by Portfolio Segment and Based on Impairment Evaluation Method (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-allowance-for-loan-losses-by-portfolio-segment-and-based-on-impairment-evaluation-method-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - Allowance for Loan Losses by Portfolio Segment and Based on Impairment Evaluation Method (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>071 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - Non-accrual Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-nonaccrual-loans-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - Non-accrual Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>072 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - Aging of the Recorded Investment in Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-aging-of-the-recorded-investment-in-loans-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - Aging of the Recorded Investment in Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>073 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - Internally Assigned Risk Grades of Loans (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-internally-assigned-risk-grades-of-loans-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - Internally Assigned Risk Grades of Loans (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>074 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - Credit Card Loan Payment Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-credit-card-loan-payment-activity-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - Credit Card Loan Payment Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>74</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>075 - Disclosure - Note 4 - Loans and Allowance for Credit Losses on Loans - Outstanding TDRs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-4-loans-and-allowance-for-credit-losses-on-loans-outstanding-tdrs-details</Role>
      <ShortName>Note 4 - Loans and Allowance for Credit Losses on Loans - Outstanding TDRs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>75</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>076 - Disclosure - Note 5 - Goodwill (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-5-goodwill-details-textual</Role>
      <ShortName>Note 5 - Goodwill (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-5-goodwill-tables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>077 - Disclosure - Note 5 - Goodwill - Carrying Value of Goodwill (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-5-goodwill-carrying-value-of-goodwill-details</Role>
      <ShortName>Note 5 - Goodwill - Carrying Value of Goodwill (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>078 - Disclosure - Note 6 - Core Deposit and Customer List Intangible Assets (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-6-core-deposit-and-customer-list-intangible-assets-details-textual</Role>
      <ShortName>Note 6 - Core Deposit and Customer List Intangible Assets (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-6-core-deposit-and-customer-list-intangible-assets-tables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>079 - Disclosure - Note 6 - Core Deposit and Customer List Intangible Assets - Changes in the Net Carrying Amount of Intangibles (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-6-core-deposit-and-customer-list-intangible-assets-changes-in-the-net-carrying-amount-of-intangibles-details</Role>
      <ShortName>Note 6 - Core Deposit and Customer List Intangible Assets - Changes in the Net Carrying Amount of Intangibles (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>080 - Disclosure - Note 6 - Core Deposit and Customer List Intangible Assets - Future Amortization Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-6-core-deposit-and-customer-list-intangible-assets-future-amortization-expense-details</Role>
      <ShortName>Note 6 - Core Deposit and Customer List Intangible Assets - Future Amortization Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>081 - Disclosure - Note 7 - Other Assets - Summary of Major Components of Other Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-7-other-assets-summary-of-major-components-of-other-assets-details</Role>
      <ShortName>Note 7 - Other Assets - Summary of Major Components of Other Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>082 - Disclosure - Note 8 - Income Taxes (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-8-income-taxes-details-textual</Role>
      <ShortName>Note 8 - Income Taxes (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-8-income-taxes-tables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>083 - Disclosure - Note 8 - Income Taxes - Components of Income Tax Expense (Benefit) from Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-8-income-taxes-components-of-income-tax-expense-benefit-from-operations-details</Role>
      <ShortName>Note 8 - Income Taxes - Components of Income Tax Expense (Benefit) from Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>83</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>084 - Disclosure - Note 8 - Income Taxes - Difference Between Statutory and Effective Tax Rates (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-8-income-taxes-difference-between-statutory-and-effective-tax-rates-details</Role>
      <ShortName>Note 8 - Income Taxes - Difference Between Statutory and Effective Tax Rates (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>84</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>085 - Disclosure - Note 9 - Deposits (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-9-deposits-details-textual</Role>
      <ShortName>Note 9 - Deposits (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-9-deposits-tables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>086 - Disclosure - Note 9 - Deposits - Composition of Deposits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-9-deposits-composition-of-deposits-details</Role>
      <ShortName>Note 9 - Deposits - Composition of Deposits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>86</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>087 - Disclosure - Note 10 - Securities Sold Under Agreements to Repurchase - Securities Sold Under Agreements to Repurchase (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-10-securities-sold-under-agreements-to-repurchase-securities-sold-under-agreements-to-repurchase-details</Role>
      <ShortName>Note 10 - Securities Sold Under Agreements to Repurchase - Securities Sold Under Agreements to Repurchase (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>87</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>088 - Disclosure - Note 11 - Subordinated Debentures (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-11-subordinated-debentures-details-textual</Role>
      <ShortName>Note 11 - Subordinated Debentures (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-11-subordinated-debentures-tables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>089 - Disclosure - Note 11 - Subordinated Debentures - Subordinated Notes (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-11-subordinated-debentures-subordinated-notes-details</Role>
      <ShortName>Note 11 - Subordinated Debentures - Subordinated Notes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>89</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>090 - Disclosure - Note 12 - FHLB Advances and Other Borrowings (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-12-fhlb-advances-and-other-borrowings-details-textual</Role>
      <ShortName>Note 12 - FHLB Advances and Other Borrowings (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-12-fhlb-advances-and-other-borrowings-tables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>091 - Disclosure - Note 12 - FHLB Advances and Other Borrowings - Contractual Maturities and Average Effective Rates of Outstanding Advances (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-12-fhlb-advances-and-other-borrowings-contractual-maturities-and-average-effective-rates-of-outstanding-advances-details</Role>
      <ShortName>Note 12 - FHLB Advances and Other Borrowings - Contractual Maturities and Average Effective Rates of Outstanding Advances (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>092 - Disclosure - Note 13 - Commitments and Contingent Liabilities (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-13-commitments-and-contingent-liabilities-details-textual</Role>
      <ShortName>Note 13 - Commitments and Contingent Liabilities (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-13-commitments-and-contingent-liabilities-tables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>093 - Disclosure - Note 13 - Commitments and Contingent Liabilities - Off Balance Sheet Commitments to Extend Credit (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-13-commitments-and-contingent-liabilities-off-balance-sheet-commitments-to-extend-credit-details</Role>
      <ShortName>Note 13 - Commitments and Contingent Liabilities - Off Balance Sheet Commitments to Extend Credit (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>094 - Disclosure - Note 14 - Assets and Liabilities Measured and Reported at Fair Value (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value-details-textual</Role>
      <ShortName>Note 14 - Assets and Liabilities Measured and Reported at Fair Value (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value-tables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>095 - Disclosure - Note 14 - Assets and Liabilities Measured and Reported at Fair Value - Assets Measured at Fair Value on a Recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value-assets-measured-at-fair-value-on-a-recurring-basis-details</Role>
      <ShortName>Note 14 - Assets and Liabilities Measured and Reported at Fair Value - Assets Measured at Fair Value on a Recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>95</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>096 - Disclosure - Note 14 - Assets and Liabilities Measured and Reported at Fair Value - Assets Measured at Fair Value on a Non-recurring Basis (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value-assets-measured-at-fair-value-on-a-nonrecurring-basis-details</Role>
      <ShortName>Note 14 - Assets and Liabilities Measured and Reported at Fair Value - Assets Measured at Fair Value on a Non-recurring Basis (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>96</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>097 - Disclosure - Note 14 - Assets and Liabilities Measured and Reported at Fair Value - Significant Unobservable Inputs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-14-assets-and-liabilities-measured-and-reported-at-fair-value-significant-unobservable-inputs-details</Role>
      <ShortName>Note 14 - Assets and Liabilities Measured and Reported at Fair Value - Significant Unobservable Inputs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>97</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>098 - Disclosure - Note 15 - Disclosure of Financial Instruments Not Reported at Fair Value - Fair Value of Financial Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-15-disclosure-of-financial-instruments-not-reported-at-fair-value-fair-value-of-financial-instruments-details</Role>
      <ShortName>Note 15 - Disclosure of Financial Instruments Not Reported at Fair Value - Fair Value of Financial Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>98</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>099 - Disclosure - Note 16 - Mortgage Banking Activities (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities-details-textual</Role>
      <ShortName>Note 16 - Mortgage Banking Activities (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities-tables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>100 - Disclosure - Note 16 - Mortgage Banking Activities - Activity in Mortgage Loans Held for Sale (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities-activity-in-mortgage-loans-held-for-sale-details</Role>
      <ShortName>Note 16 - Mortgage Banking Activities - Activity in Mortgage Loans Held for Sale (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>100</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>101 - Disclosure - Note 16 - Mortgage Banking Activities - Mortgage Banking Income (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities-mortgage-banking-income-details</Role>
      <ShortName>Note 16 - Mortgage Banking Activities - Mortgage Banking Income (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>101</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>102 - Disclosure - Note 16 - Mortgage Banking Activities - Changes in the Net Carrying Amount of MSRs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities-changes-in-the-net-carrying-amount-of-msrs-details</Role>
      <ShortName>Note 16 - Mortgage Banking Activities - Changes in the Net Carrying Amount of MSRs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>102</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>103 - Disclosure - Note 16 - Mortgage Banking Activities - Notional Amounts and Fair Values (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-16-mortgage-banking-activities-notional-amounts-and-fair-values-details</Role>
      <ShortName>Note 16 - Mortgage Banking Activities - Notional Amounts and Fair Values (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>104 - Disclosure - Note 17 - Accumulated Other Comprehensive Income (Loss) - Accumulated Other Comprehensive Income (Loss) by Component (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-17-accumulated-other-comprehensive-income-loss-accumulated-other-comprehensive-income-loss-by-component-details</Role>
      <ShortName>Note 17 - Accumulated Other Comprehensive Income (Loss) - Accumulated Other Comprehensive Income (Loss) by Component (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-17-accumulated-other-comprehensive-income-loss-tables</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>105 - Disclosure - Note 18 - Preferred Stock (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-18-preferred-stock-details-textual</Role>
      <ShortName>Note 18 - Preferred Stock (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-18-preferred-stock</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>106 - Disclosure - Note 19 - Net Income Per Share - Basic and Diluted Net Income Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-19-net-income-per-share-basic-and-diluted-net-income-per-share-details</Role>
      <ShortName>Note 19 - Net Income Per Share - Basic and Diluted Net Income Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>107 - Disclosure - Note 19 - Net Income Per Share - Antidilutive SARs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-19-net-income-per-share-antidilutive-sars-details</Role>
      <ShortName>Note 19 - Net Income Per Share - Antidilutive SARs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>108 - Disclosure - Note 20 - Stock-based Compensation (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-details-textual</Role>
      <ShortName>Note 20 - Stock-based Compensation (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-tables</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>109 - Disclosure - Note 20 - Stock-based Compensation - Fair Value Assumptions (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-fair-value-assumptions-details</Role>
      <ShortName>Note 20 - Stock-based Compensation - Fair Value Assumptions (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>110 - Disclosure - Note 20 - Stock-based Compensation - Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-stockbased-compensation-expense-details</Role>
      <ShortName>Note 20 - Stock-based Compensation - Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>111 - Disclosure - Note 20 - Stock-based Compensation - Unrecognized Stock-based Compensation Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-unrecognized-stockbased-compensation-expense-details</Role>
      <ShortName>Note 20 - Stock-based Compensation - Unrecognized Stock-based Compensation Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>112 - Disclosure - Note 20 - Stock-based Compensation - SARs Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-sars-activity-details</Role>
      <ShortName>Note 20 - Stock-based Compensation - SARs Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>113 - Disclosure - Note 20 - Stock-based Compensation - Restricted Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-restricted-stock-details</Role>
      <ShortName>Note 20 - Stock-based Compensation - Restricted Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>114 - Disclosure - Note 20 - Stock-based Compensation - Performance-based Restricted Stock Units (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-20-stockbased-compensation-performancebased-restricted-stock-units-details</Role>
      <ShortName>Note 20 - Stock-based Compensation - Performance-based Restricted Stock Units (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>115 - Disclosure - Note 21 - Derivative Financial Instruments (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-21-derivative-financial-instruments-details-textual</Role>
      <ShortName>Note 21 - Derivative Financial Instruments (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-21-derivative-financial-instruments-tables</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>116 - Disclosure - Note 21 - Derivative Financial Instruments - Outstanding Undesignated Interest Rate Swap Contracts (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-21-derivative-financial-instruments-outstanding-undesignated-interest-rate-swap-contracts-details</Role>
      <ShortName>Note 21 - Derivative Financial Instruments - Outstanding Undesignated Interest Rate Swap Contracts (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>117 - Disclosure - Note 21 - Derivative Financial Instruments - Derivative Position Designated as Cash Flow Hedge (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-21-derivative-financial-instruments-derivative-position-designated-as-cash-flow-hedge-details</Role>
      <ShortName>Note 21 - Derivative Financial Instruments - Derivative Position Designated as Cash Flow Hedge (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>118 - Disclosure - Note 22 - Regulatory Matters (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-22-regulatory-matters-details-textual</Role>
      <ShortName>Note 22 - Regulatory Matters (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-22-regulatory-matters-tables</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>119 - Disclosure - Note 22 - Regulatory Matters - Risk Based Capital Amounts and Ratios (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-22-regulatory-matters-risk-based-capital-amounts-and-ratios-details</Role>
      <ShortName>Note 22 - Regulatory Matters - Risk Based Capital Amounts and Ratios (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>120 - Disclosure - Note 23 - Segments (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-23-segments-details-textual</Role>
      <ShortName>Note 23 - Segments (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-23-segments-tables</ParentRole>
      <Position>120</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>121 - Disclosure - Note 23 - Segments - Financial Information by Business Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-23-segments-financial-information-by-business-segment-details</Role>
      <ShortName>Note 23 - Segments - Financial Information by Business Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>121</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>122 - Disclosure - Note 24 - Revenue From Contracts With Customers (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-24-revenue-from-contracts-with-customers-details-textual</Role>
      <ShortName>Note 24 - Revenue From Contracts With Customers (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-24-revenue-from-contracts-with-customers-tables</ParentRole>
      <Position>122</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>123 - Disclosure - Note 24 - Revenue From Contracts With Customers - Revenue by Operating Segment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-24-revenue-from-contracts-with-customers-revenue-by-operating-segment-details</Role>
      <ShortName>Note 24 - Revenue From Contracts With Customers - Revenue by Operating Segment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>123</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>124 - Disclosure - Note 25 - Leases (Details Textual)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-25-leases-details-textual</Role>
      <ShortName>Note 25 - Leases (Details Textual)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.syb.com/20230331/role/statement-note-25-leases-tables</ParentRole>
      <Position>124</Position>
    </Report>
    <Report instance="sybt20230331_10q.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>125 - Disclosure - Note 25 - Leases - Balance Sheet, Income Statement, and Cash Flow Detail Regarding Operating Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.syb.com/20230331/role/statement-note-25-leases-balance-sheet-income-statement-and-cash-flow-detail-regarding-operating-leases-details</Role>
      <ShortName>Note 25 - Leases - Balance Sheet, Income Statement, and Cash Flow Detail Regarding Operating Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>125</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <Logs>
    <Log type="Warning">[ix-0514-Hidden-Fact-Eligible-For-Transform] WARN: 83 fact(s) appearing in ix:hidden were eligible for transformation: dei:EntityRegistrantName, sybt:BusinessCombinationUnconsolidatedTrustSubsidiariesAcquiredPercent, sybt:DebtSecuritiesAvailableforsaleUnrealizedLossPositionPercentage, sybt:FederalFundsCorrespondingBanksMaximumAmountAvailable, sybt:GuaranteeObligationsAgreementTerm, sybt:OperatingLeaseRemainingLeaseTerm, sybt:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsExercisesExercisePrice, sybt:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodExercisePrice, sybt:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingExercisePrice, sybt:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsUnvestedExercisePrice, sybt:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExercisableExercisePrice, sybt:SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedExercisePrice, sybt:SharebasedCompensationArrangementBySharebasedPaymentAwardPostVestingHoldingPeriod, us-gaap:AvailableForSaleDebtSecuritiesAmortizedCostBasis, us-gaap:CommonStockNoParValue, us-gaap:CommonStockSharesAuthorized, us-gaap:CommonStockSharesIssued, us-gaap:CommonStockSharesOutstanding, us-gaap:ContractWithCustomerAssetNet, us-gaap:ContractWithCustomerLiability, us-gaap:DebtInstrumentBasisSpreadOnVariableRate1, us-gaap:DebtSecuritiesHeldToMaturityNonaccrual, us-gaap:DerivativeMaturityDates, us-gaap:DerivativeNotionalAmount, us-gaap:FinancingReceivableNonaccrualInterestIncome, us-gaap:Goodwill, us-gaap:HeldToMaturitySecuritiesFairValue, us-gaap:LesseeOperatingLeaseRenewalTerm, us-gaap:LiabilitiesFairValueDisclosure, us-gaap:PreferredStockNoParValue, us-gaap:PreferredStockSharesAuthorized, us-gaap:PreferredStockSharesIssued, us-gaap:PreferredStockSharesOutstanding, us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1, us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod, us-gaap:ValuationAllowanceForImpairmentOfRecognizedServicingAssetsBalance -  sybt20230331_10q.htm 8, 13, 14, 15, 16, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98</Log>
  </Logs>
  <InputFiles>
    <File doctype="10-Q" original="sybt20230331_10q.htm">sybt20230331_10q.htm</File>
    <File>ex_510240.htm</File>
    <File>ex_510241.htm</File>
    <File>ex_510242.htm</File>
    <File>sybt-20230331.xsd</File>
    <File>sybt-20230331_cal.xml</File>
    <File>sybt-20230331_def.xml</File>
    <File>sybt-20230331_lab.xml</File>
    <File>sybt-20230331_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>sybt20230331_10qimg001.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="3493">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
