XML 117 R104.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Deposits - Composition of Deposits and Interest Expenses (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Time Deposits [Line Items] |  |  |
Balance | $ 7,521,769 | $ 7,219,970 | $ 7,996,524
Interest Expense | 92,836 | 19,907 | 10,757
Noninterest-bearing demand |  |  |
Time Deposits [Line Items] |  |  |
Balance | 2,221,942 | 2,588,692 | 2,748,586
Interest Expense | 0 | 0 | 0
Interest-bearing demand |  |  |
Time Deposits [Line Items] |  |  |
Balance | 825,787 | 846,653 | 979,133
Interest Expense | 6,056 | 1,025 | 809
Money market |  |  |
Time Deposits [Line Items] |  |  |
Balance | 1,941,842 | 1,731,521 | 2,070,579
Interest Expense | 39,480 | 11,948 | 3,652
Savings |  |  |
Time Deposits [Line Items] |  |  |
Balance | 950,546 | 1,118,511 | 1,110,155
Interest Expense | 4,352 | 1,121 | 366
Certificates of deposit |  |  |
Time Deposits [Line Items] |  |  |
Balance | 1,581,652 | 934,593 | 1,088,071
Interest Expense | $ 42,948 | $ 5,813 | $ 5,930

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 -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (1) -Publisher SEC Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (2) -Publisher SEC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (3) -Publisher SEC Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (4) -Publisher SEC Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (5) -Publisher SEC Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph c -Publisher SEC Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Name Industry Guide -Number 3 -Section V -Paragraph D-E -Publisher SEC + Details
Name: | us-gaap_DepositLiabilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate of all deposit liabilities held by the entity, including foreign and domestic, interest and noninterest bearing; may include demand deposits, saving deposits, Negotiable Order of Withdrawal (NOW) and time deposits among others. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.12) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 + Details
Name: | us-gaap_Deposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Aggregate amount of interest expense on all deposits. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.6) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483589/942-220-S99-1 + Details
Name: | us-gaap_InterestExpenseDeposits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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

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

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

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