v3.25.3

Securities - Narrative (Details) | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Sep. 30, 2025 USD ($) security | Sep. 30, 2024 USD ($) | Sep. 30, 2025 USD ($) chargeoff security | Sep. 30, 2024 USD ($) chargeoff | Dec. 31, 2024 USD ($)
Debt Securities, Available-for-sale [Line Items] |  |  |  |  |
Marketable securities | $ 696,748,000 |  | $ 696,748,000 |  | $ 602,719,000
Debt securities, accrued interest | 3,500,000 |  | 3,500,000 |  | 1,400,000
Held to maturity, allowance for credit losses | $ 150,000 |  | $ 150,000 |  | $ 150,000
Number of debt securities with unrealized losses | security | 149 |  | 149 |  |
Unrealized losses on debt securities in continuous loss position as percentage of total individual securities' amortized cost basis (as a percent) | 14.00% |  | 14.00% |  |
Unrealized losses on debt securities in continuous loss position as percentage of amortized cost basis of investment securities portfolio (as a percent) | 8.50% |  | 8.50% |  |
Number of debt securities in continuous loss position for over 12 months | security | 132 |  | 132 |  |
Debt securities in a continuous loss position for over 12 months, amortized cost basis | $ 368,700,000 |  | $ 368,700,000 |  |
Debt securities in a continuous loss position for over 12 months, unrealized loss | $ 58,900,000 |  | $ 58,900,000 |  |
Number of held to maturity corporate security with a credit related impairment loss | security | 0 |  | 0 |  |
Provision for credit losses | $ 47,933,000 | $ 4,904,000 | $ 79,091,000 | $ 14,013,000 |
Corporate debt securities |  |  |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |  |  |
Number of charge-offs | chargeoff |  |  | 0 | 0 |
Held-to-Maturity and Available-for-Sale Securities |  |  |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |  |  |
Provision for credit losses |  |  | $ 0 | $ 0 |
Deposits |  |  |  |  |
Debt Securities, Available-for-sale [Line Items] |  |  |  |  |
Marketable securities | 512,500,000 |  | 512,500,000 |  |
Debt securities, available-for-sale and held-to-maturity, fair value | $ 463,600,000 |  | $ 463,600,000 |  |

X
- Definition Debt Securities, Accrued Interest + References No definition available. + Details
Name: | fgbi_DebtSecuritiesAccruedInterest
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Refers to accumulated unrealized loss on investments in debt securities in a continuous loss position as percentage of total individual securities' amortized cost basis. + References No definition available. + Details
Name: | fgbi_DebtSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAsPercentageOfAllIndividualSecuritiesAmortizedCostBasis
Namespace Prefix: | fgbi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Refers to accumulated unrealized loss on investments in debt securities in a continuous loss position as percentage of investment securities portfolio. + References No definition available. + Details
Name: | fgbi_DebtSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAsPercentageOfInvestmentSecuritiesPortfolio
Namespace Prefix: | fgbi_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Debt Securities, Held-To-Maturity, Number Of Chargeoffs + References No definition available. + Details
Name: | fgbi_DebtSecuritiesHeldToMaturityNumberOfChargeoffs
Namespace Prefix: | fgbi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Securities, Held-To-Maturity, Number Of Securities With Impairment Loss + References No definition available. + Details
Name: | fgbi_DebtSecuritiesHeldToMaturityNumberOfSecuritiesWithImpairmentLoss
Namespace Prefix: | fgbi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investments in debt securities in a continuous loss position. + References No definition available. + Details
Name: | fgbi_SecuritiesContinuousUnrealizedLossPositionAccumulatedLoss
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the amortized cost of securities that have been in a continuous unrealized loss position for twelve months or longer. + References No definition available. + Details
Name: | fgbi_SecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerAmortizedCostBasis
Namespace Prefix: | fgbi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number of debt securities that have been in a continuous debt position of unrealized loss position for greater than or equal to a year for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References No definition available. + Details
Name: | fgbi_SecuritiesInUnrealizedLossPositionsMoreThanTwelveMonthsQualitativeDisclosureNumberOfPositions
Namespace Prefix: | fgbi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of debt securities in a continuous debt positions of unrealized loss for which an other-than-temporary impairment (OTTI) has not been recognized in the income statement. + References No definition available. + Details
Name: | fgbi_SecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions
Namespace Prefix: | fgbi_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at amortized cost (held-to-maturity) and investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 5A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-5A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAndHeldToMaturityFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding accrued interest, of allowance for credit loss on investment in debt security measured at amortized cost (held-to-maturity). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 + Details
Name: | us-gaap_DebtSecuritiesHeldToMaturityAllowanceForCreditLossExcludingAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of investment in marketable security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_MarketableSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of expense related loan transactions, lease transactions, credit loss from transactions other than loan and lease transactions, and other loss based on assessment of uncollectability from the counterparty to reduce the account to their net realizable value. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (a) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-21 Reference 3: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 11B -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-11B Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(11)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_ProvisionForLoanLeaseAndOtherLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aaa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=fgbi_HeldToMaturityAndAvailableForSaleSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PledgingPurposeAxis=us-gaap_DepositsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |