XML 117 R103.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Deposits - Composition of Deposits and Interest Expenses (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2022
Time Deposits [Line Items] |  |  |
Balance | $ 7,783,117 | $ 7,521,769 | $ 7,219,970
Interest Expense | 159,411 | 92,836 | 19,907
Noninterest-bearing demand |  |  |
Time Deposits [Line Items] |  |  |
Balance | 2,185,242 | 2,221,942 | 2,588,692
Interest Expense | 0 | 0 | 0
Interest-bearing demand |  |  |
Time Deposits [Line Items] |  |  |
Balance | 812,768 | 825,787 | 846,653
Interest Expense | 8,837 | 6,056 | 1,025
Money market |  |  |
Time Deposits [Line Items] |  |  |
Balance | 2,040,285 | 1,941,842 | 1,731,521
Interest Expense | 64,666 | 39,480 | 11,948
Savings |  |  |
Time Deposits [Line Items] |  |  |
Balance | 877,859 | 950,546 | 1,118,511
Interest Expense | 6,273 | 4,352 | 1,121
Certificates of deposit |  |  |
Time Deposits [Line Items] |  |  |
Balance | 1,866,963 | 1,581,652 | 934,593
Interest Expense | $ 79,635 | $ 42,948 | $ 5,813

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 (2) -Publisher SEC Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (1) -Publisher SEC Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (5) -Publisher SEC Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph c -Publisher SEC Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (3) -Publisher SEC Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Name Regulation S-K (SK) -Number 229 -Section 1406 -Paragraph a -Subparagraph (4) -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 -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(12)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/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/2147478524/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: |