XML 85 R74.htm IDEA: XBRL DOCUMENT
v3.22.1

Quarterly Financial Information (Unaudited) - Summary of Segment Information (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended | 9 Months Ended | 12 Months Ended
--- | --- | --- | --- | ---
Sep. 30, 2021 | Jun. 30, 2021 | Mar. 31, 2021 | Jun. 30, 2021 | Sep. 30, 2021 | Dec. 31, 2021 | Dec. 31, 2020
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | $ 25 |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | $ (135) | $ 1,221 |  | $ 1,246 | $ 1,111 | $ 1,664 | $ (7,867)
Recast for discontinued operations |  |  | (7,660) |  |  | 7,725 | (9,642)
Gross profit from continuing operations, as adjusted |  |  | 25 |  |  |  |
Operating loss |  |  | (2,233) |  |  |  | (13,903)
Operating loss | (3,606) | (1,487) |  | (3,720) | (7,326) | $ (13,484) | (13,903)
Recast for discontinued operations |  |  | 16,121 |  |  |  |
Operating income (loss) from continuing operations, as adjusted |  |  | (2,233) |  |  |  | (13,903)
Operating Segments | F&S |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | 1,160 | 2,304 |  | 3,349 | 4,509 |  | 1,554
Gross profit from continuing operations, as adjusted |  |  | 1,100 |  |  |  |
Operating loss | 427 | 1,719 |  | 2,638 | 3,065 |  |
Operating income (loss) from continuing operations, as adjusted |  |  | 1,039 |  |  |  | 5,654
Operating Segments | Shipyard |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | (1,237) | (1,005) |  | (1,937) | (3,174) |  | (9,213)
Recast for discontinued operations |  |  | (7,660) |  |  |  | (9,642)
Gross profit from continuing operations, as adjusted |  |  | (1,075) |  |  |  |
Operating loss | (1,881) | (1,064) |  | (2,269) | (4,150) |  |
Recast for discontinued operations |  |  | 16,121 |  |  |  |
Operating income (loss) from continuing operations, as adjusted |  |  | (1,283) |  |  |  | (11,101)
Corporate |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | (58) | (78) |  | (166) | (224) |  | (208)
Operating loss | (2,152) | (2,142) |  | (4,089) | (6,241) |  |
Operating income (loss) from continuing operations, as adjusted |  |  | (1,989) |  |  |  | (8,456)
As Previously Reported |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 7,581 |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | (198) | 1,104 |  | 1,025 | 827 |  |
Operating loss |  |  | (18,458) |  |  |  | (27,159)
Operating loss | (3,682) | (1,609) |  | (3,946) | (7,628) |  | (27,159)
As Previously Reported | Operating Segments | F&S |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 1,042 |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | 1,112 | 2,241 |  | 3,228 | 4,340 |  |
Operating loss |  |  | 981 |  |  |  |
Operating loss | 379 | 1,656 |  | 2,517 | 2,896 |  | 5,893
As Previously Reported | Operating Segments | Shipyard |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 6,539 |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | (1,252) | (1,059) |  | (2,037) | (3,289) |  |
Operating loss |  |  | (17,450) |  |  |  |
Operating loss | (1,896) | (1,119) |  | (2,370) | (4,266) |  | (24,343)
As Previously Reported | Corporate |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | (58) | (78) |  | (166) | (224) |  |
Operating loss |  |  | (1,989) |  |  |  |
Operating loss | (2,165) | (2,146) |  | (4,093) | (6,258) |  | (8,709)
Corrections |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 104 |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | 63 | 117 |  | 221 | 284 |  |
Operating loss |  |  | 104 |  |  |  | (51)
Operating loss | 76 | 122 |  | 226 | 302 |  | (51)
Corrections | Operating Segments | F&S |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 58 |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | 48 | 63 |  | 121 | 169 |  |
Operating loss |  |  | 58 |  |  |  |
Operating loss | 48 | 63 |  | 121 | 169 |  | 111
Corrections | Operating Segments | Shipyard |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 46 |  |  |  |
Gross profit (loss) from continuing operations, as adjusted | 15 | 54 |  | 100 | 115 |  |
Operating loss |  |  | 46 |  |  |  |
Operating loss | 15 | 55 |  | 101 | 116 |  | 140
Corrections | Corporate |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Operating loss | $ 13 | $ 4 |  | $ 4 | $ 17 |  | (302)
As Adjusted Prior to Recast |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 7,685 |  |  |  |
Operating loss |  |  | (18,354) |  |  |  | (27,210)
Operating loss |  |  |  |  |  |  | (27,210)
As Adjusted Prior to Recast | Operating Segments | F&S |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 1,100 |  |  |  |
Operating loss |  |  | 1,039 |  |  |  |
Operating loss |  |  |  |  |  |  | 6,004
As Adjusted Prior to Recast | Operating Segments | Shipyard |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Gross profit (loss) |  |  | 6,585 |  |  |  |
Operating loss |  |  | (17,404) |  |  |  |
Operating loss |  |  |  |  |  |  | (24,203)
As Adjusted Prior to Recast | Corporate |  |  |  |  |  |  |
Quarterly Financial Information Disclosure [Line Items] |  |  |  |  |  |  |
Operating loss |  |  | $ (1,989) |  |  |  |
Operating loss |  |  |  |  |  |  | $ (9,011)

X
- Definition Gross profit (loss) including continuing operations. + References No definition available. + Details
Name: | gifi_GrossProfitLossIncludingContinuingOperations
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Gross profit (loss) including discontinued operation + References No definition available. + Details
Name: | gifi_GrossProfitLossIncludingDiscontinuedOperation
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Operating income (loss) from continuing operations. + References No definition available. + Details
Name: | gifi_OperatingIncomeLossFromContinuingOperations
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Operating income (loss) including discontinued operation. + References No definition available. + Details
Name: | gifi_OperatingIncomeLossIncludingDiscontinuedOperation
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Operating profit loss discontinued operations. + References No definition available. + Details
Name: | gifi_OperatingProfitLossDiscontinuedOperations
Namespace Prefix: | gifi_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Quarterly financial information disclosure line items. + References No definition available. + Details
Name: | gifi_QuarterlyFinancialInformationDisclosureLineItems
Namespace Prefix: | gifi_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of gross profit attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 7 -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=109222650&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Aggregate revenue less cost of goods and services sold or operating expenses directly attributable to the revenue generation activity. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 323 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(A)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iii)(B)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 9: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(ii)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(g)(1)(ii)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(i)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(i)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 13: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(4)(iii)(A)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 14: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 825 -SubTopic 10 -Section 50 -Paragraph 28 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612 Reference 15: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1A -Subparagraph (SX 210.13-01(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442526-122756 Reference 16: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(4)(iv)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 17: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 10 -Section S99 -Paragraph 1B -Subparagraph (SX 210.13-02(a)(5)) -URI http://asc.fasb.org/extlink&oid=124359900&loc=SL124442552-122756 Reference 18: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.1,2) -URI http://asc.fasb.org/extlink&oid=123367319&loc=SL114868664-224227 Reference 19: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 + Details
Name: | us-gaap_GrossProfit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The net result for the period of deducting operating expenses from operating revenues. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 31 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8924-108599 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 30 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8906-108599 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 32 -Subparagraph (f) -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8933-108599 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 22 -URI http://asc.fasb.org/extlink&oid=123359005&loc=d3e8736-108599 + Details
Name: | us-gaap_OperatingIncomeLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_OperatingSegmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=gifi_FabricationAndServicesSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementBusinessSegmentsAxis=gifi_ShipyardSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidationItemsAxis=us-gaap_CorporateNonSegmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=srt_ScenarioPreviouslyReportedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=srt_RevisionOfPriorPeriodErrorCorrectionAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RestatementAxis=gifi_AdjustedPriorToRecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |