XML 48 R39.htm IDEA: XBRL DOCUMENT
v3.23.2

Loans and Allowance for Credit Losses - Narrative (Details) $ in Millions | 3 Months Ended | 6 Months Ended | 12 Months Ended
--- | --- | --- | ---
Jun. 30, 2023 USD ($) loan | Jun. 30, 2022 USD ($) loan | Jun. 30, 2023 USD ($) loan | Jun. 30, 2022 USD ($) loan | Dec. 31, 2022 USD ($) loan
Receivables [Abstract] |  |  |  |  |
Unearned income | $ 7.3 |  | $ 7.3 |  | $ 7.5
Purchase accounting fair value adjustments | $ 4.0 |  | $ 4.0 |  | $ 4.7
Number of contracts, modified, subsequent default | loan | 0 | 9 | 0 | 16 |
Financing receivable, modified, commitment to lend | $ 0.2 |  | $ 0.2 |  |
Threshold period of satisfactory performance for troubled debt restructuring to be restored to accruing status |  |  | 6 months |  |
Number of troubled debt restructuring loans returned to accruing status | loan |  |  |  |  | 1
Reclassified to accruing status |  |  |  |  | $ 0.2
Number of commitments to lend additional funds on TDRs | loan |  | 13 |  | 13 |
Commitments to lend additional funds on TDRs |  | $ 0.3 |  | $ 0.3 |
Number of contracts, troubled debt restructuring, subsequent default | loan |  | 0 |  | 1 |
Financing receivable, modified, subsequent default |  |  |  | $ 0.1 |

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

X
- Definition Financial Receivable, Trouble Debt Restructuring, Reclassified To Accruing Status + References No definition available. + Details
Name: | stba_FinancialReceivableTroubleDebtRestructuringReclassifiedToAccruingStatus
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of troubled debt restructuring loans returned back to accruing status. + References No definition available. + Details
Name: | stba_NumberOfTroubledDebtRestructuringLoansReturnedBackToAccruingStatus
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition Threshold Period of Satisfactory Payments to Remove from Nonaccrual Status + References No definition available. + Details
Name: | stba_ThresholdPeriodofSatisfactoryPaymentstoRemovefromNonaccrualStatus
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable with payment default in current period and modified within previous 12 months preceding payment default for debtor experiencing financial difficulty. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 44 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-44 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestModifiedSubsequentDefault
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Number of financing receivables that have been modified by troubled debt restructurings. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 33 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-33 + Details
Name: | us-gaap_FinancingReceivableModificationsNumberOfContracts2
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of financing receivable contracts modified as troubled debt restructuring within previous 12 months, with subsequent payment default. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 34 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481962/310-10-50-34 + Details
Name: | us-gaap_FinancingReceivableModificationsSubsequentDefaultNumberOfContracts1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

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/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 2: http://www.xbrl.org/2003/role/disclosureRef -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 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/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 2: http://www.xbrl.org/2003/role/disclosureRef -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 + 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://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 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 1 -SubTopic 40 -Topic 310 -Publisher FASB -URI https://asc.fasb.org//1943274/2147481746/310-40-50-1 + 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