XML 76 R49.htm IDEA: XBRL DOCUMENT
v3.22.2

Allowance for Credit Losses - Narrative (Details) - USD ($) $ in Millions | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | ---
Commercial Loans | CARES Act, Paycheck Protection Program Loans |  |
Financing Receivable, Allowance for Credit Loss [Line Items] |  |
Total loans | $ 11.7 | $ 336.1

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, after allowance for credit loss, of financing receivable. Excludes financing receivable covered under loss sharing agreement and net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124259787&loc=d3e4428-111522 + Details
Name: | us-gaap_NotesReceivableNet
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_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis=stba_PaycheckProtectionProgramLoanCARESActMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |