XML 98 R86.htm IDEA: XBRL DOCUMENT
v3.22.4

Allowance for Credit Losses - Narrative (Details) - USD ($) $ in Thousands | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | ---
Financing Receivable, Allowance for Credit Loss [Line Items] |  |
Financing receivable, excluding accrued interest, after allowance for credit loss | $ 7,082,629 | $ 6,901,414
Commercial | CARES Act, Paycheck Protection Program Loans |  |
Financing Receivable, Allowance for Credit Loss [Line Items] |  |
Financing receivable, excluding accrued interest, after allowance for credit loss | $ 4,000 | $ 88,300

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 No definition available. + Details
Name: | us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, after allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancingReceivablePortfolioSegmentAxis=us-gaap_CommercialPortfolioSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanRestructuringModificationNameAxis=stba_PaycheckProtectionProgramLoanCARESActMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |