XML 42 R32.htm IDEA: XBRL DOCUMENT
v3.25.2

Acquisition - Summary of Preliminary Purchase Price Allocation (Parenthetical) (Details) - ENGlobal Business $ in Thousands | Jun. 30, 2025 USD ($)
--- | ---
Asset Acquisition [Line Items] |
Intangible assets - trade name | $ 400
Automation Business |
Asset Acquisition [Line Items] |
Estimated life | 5 years
Amortization expense, remainder of 2025 | $ 100
Amortization expense, 2026 | 100
Amortization expense, 2027 | 100
Amortization expense, 2028 | 100
Amortization expense, 2029 | 100
Amortization expense, 2030 | $ 100

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/2009/role/commonPracticeRef -Topic 805 -SubTopic 50 -Name Accounting Standards Codification -Section 15 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480123/805-50-15-3 + Details
Name: | us-gaap_AssetAcquisitionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Useful life of finite-lived intangible assets, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_FiniteLivedIntangibleAssetUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482640/350-30-55-40 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in remainder of current fiscal year. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fifth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482640/350-30-55-40 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in fourth fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482640/350-30-55-40 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in third fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482640/350-30-55-40 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of amortization for assets, excluding financial assets and goodwill, lacking physical substance with finite life expected to be recognized in second fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482640/350-30-55-40 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The current portion of nonphysical assets, excluding financial assets, if these assets are classified into the current and noncurrent portions. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 10 -SubTopic 20 -Topic 205 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483475/205-20-45-10 + Details
Name: | us-gaap_IntangibleAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=gifi_ENGlobalBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AssetAcquisitionAxis=gifi_AutomationBusinessMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |