XML 48 R38.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Loans and Allowance for Credit Losses - Narrative (Details) $ in Millions | Jun. 30, 2024 USD ($) commitment | Dec. 31, 2023 USD ($) loan
--- | --- | ---
Receivables [Abstract] |  |
Unearned income | $ 5.4 | $ 6.6
Purchase accounting fair value adjustments | $ 2.7 | $ 3.1
Number of commitments to lend additional funds on TDRs | loan |  | 1
Number of commitments to lend | commitment | 3 |
Financing receivable, modified, commitment to lend | $ 1.2 | $ 0.2

X
- Definition Commitment To Lend Additional Funds + References No definition available. + Details
Name: | stba_FinancingReceivableModificationsNumberOfCommitments
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Financing Receivable, Modified, Commitment to Lend, Number of Commitments + References No definition available. + Details
Name: | stba_FinancingReceivableModifiedCommitmentToLendNumberOfCommitments
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unamortized loan commitment, origination, and other costs (fees) on financing receivable recognized as adjustment to yield. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481598/310-20-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-4 Reference 3: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 3 -SubTopic 20 -Topic 310 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481569/310-20-50-3 + Details
Name: | us-gaap_FinancingReceivableUnamortizedLoanFeeCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of unamortized purchase premium (discount) on financing receivable. Excludes financing receivable covered under loss sharing agreement. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481598/310-20-45-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-4 + Details
Name: | us-gaap_FinancingReceivableUnamortizedPurchasePremiumDiscount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of commitment to lend additional funds to debtor experiencing financial difficulty for which creditor has modified terms of financing receivable. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481746/310-40-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 36 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-36 + Details
Name: | us-gaap_LoansAndLeasesReceivableImpairedCommitmentToLend
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_ReceivablesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration