XML 86 R74.htm IDEA: XBRL DOCUMENT
v3.22.4

Loans and Loans Held for Sale - Narrative (Details) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) loan | Dec. 31, 2021 USD ($) loan
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Unearned income | $ 7,500 | $ 14,100
Purchase accounting fair value adjustments | 4,700 | 6,700
Financing receivable, excluding accrued interest, after allowance for credit loss | 7,082,629 | 6,901,414
Portfolio loans, net of unearned income | $ 7,183,969 | $ 6,999,990
Number of modified loans | loan | 0 | 8
Number of commitments to lend additional funds | loan | 16 | 12
Commitment to lend additional funds | $ 400 | $ 2,600
Number of TDRs returned back to accruing status | loan | 1 | 0
Financial receivable trouble debt restructuring reclassified to accruing trouble debt restructuring status | $ 200 |
Minimum period of loan payment defaults following restructure for TDRs to be in default (in days) | 90 days |
Number of TDRs defaulted that were restructured within the last 12 months prior to defaulting | loan | 0 | 0
CARES Act, Paycheck Protection Program Loans |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Number of modified loans | loan |  | 8
Modified loans |  | $ 28,800
Commercial | CARES Act, Paycheck Protection Program Loans |  |
Accounts, Notes, Loans and Financing Receivable [Line Items] |  |
Financing receivable, excluding accrued interest, after allowance for credit loss | $ 4,000 | 88,300
Modified loans |  | $ 28,800

X
- Definition Business Combination, Provisional Information, Initial Accounting Incomplete, Adjustment, Acquired Receivable, Fair Value + References No definition available. + Details
Name: | stba_BusinessCombinationProvisionalInformationInitialAccountingIncompleteAdjustmentAcquiredReceivableFairValue
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 trouble debt restructuring status. + References No definition available. + Details
Name: | stba_FinancialReceivableTroubleDebtRestructuringReclassifiedToAccruingTroubleDebtRestructuringStatus
Namespace Prefix: | stba_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Financing Receivable, Non-TDR Modifications, Number Of Contracts + References No definition available. + Details
Name: | stba_FinancingReceivableNonTDRModificationsNumberOfContracts
Namespace Prefix: | stba_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financing Receivable, Non-TDR Restructuring, Postmodification + References No definition available. + Details
Name: | stba_FinancingReceivableNonTDRRestructuringPostmodification
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 Period of loans in default treated as troubled debt restructuring. + References No definition available. + Details
Name: | stba_PeriodOfLoansInDefaultTreatedAsTroubledDebtRestructuring
Namespace Prefix: | stba_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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_AccountsNotesAndLoansReceivableLineItems
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
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes 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/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 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 34 -URI https://asc.fasb.org/extlink&oid=123577603&loc=SL6953682-111524 + 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 -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=6378536&loc=d3e10092-111533 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 10 -Section 50 -Paragraph 4 -URI https://asc.fasb.org/extlink&oid=123577603&loc=d3e5074-111524 Reference 3: http://www.xbrl.org/2003/role/recommendedDisclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 310 -SubTopic 20 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=84159169&loc=d3e10152-111534 + Details
Name: | us-gaap_FinancingReceivableUnamortizedLoanFeeCost
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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