v3.23.1

Fair value of financial instruments - Schedule of Impacts of Derivative Gain (Loss) of Cash Flow Hedges (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Mar. 31, 2023 | Mar. 25, 2022 | Mar. 31, 2023 | Mar. 25, 2022
Derivatives gain (loss) recognized in other comprehensive income (loss): |  |  |  |
Total derivatives gain (loss) recognized in other comprehensive income (loss) | $ (4,826) | $ 1,891 | $ 7,762 | $ 4,443
Derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings: |  |  |  |
Total derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings | (709) | (1,225) | (3,327) | (1,700)
Change in net unrealized gain (loss) on derivatives instruments | (5,535) | 666 | 4,435 | 2,743
Foreign currency forward contracts | Cost of revenues |  |  |  |
Derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings: |  |  |  |
Total derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings | (3,245) | 1,117 | 6,083 | 6,216
Foreign currency forward contracts | SG&A |  |  |  |
Derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings: |  |  |  |
Total derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings | (140) | 46 | 250 | 258
Foreign currency forward contracts | Foreign exchange loss, net |  |  |  |
Derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings: |  |  |  |
Total derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings | 2,807 | (2,165) | (9,183) | (7,438)
Foreign currency forward contracts | Other comprehensive income |  |  |  |
Derivatives gain (loss) recognized in other comprehensive income (loss): |  |  |  |
Total derivatives gain (loss) recognized in other comprehensive income (loss) | (5,068) | 1,009 | 6,694 | 2,558
Interest rate swaps | Interest expense |  |  |  |
Derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings: |  |  |  |
Total derivatives (gain) loss reclassified from accumulated other comprehensive income (loss) into earnings | (131) | (223) | (477) | (736)
Interest rate swaps | Other comprehensive income |  |  |  |
Derivatives gain (loss) recognized in other comprehensive income (loss): |  |  |  |
Total derivatives gain (loss) recognized in other comprehensive income (loss) | $ 242 | $ 882 | $ 1,068 | $ 1,885

X
- Definition Derivatives gain (loss) reclassified from other comprehensive income into earnings. + References No definition available. + Details
Name: | fn_DerivativesGainLossReclassifiedFromOtherComprehensiveIncomeIntoEarningsAbstract
Namespace Prefix: | fn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Derivatives Gain (Loss) Recognized In Other Comprehensive Income (Loss) + References No definition available. + Details
Name: | fn_DerivativesGainLossRecognizedInOtherComprehensiveIncomeLossAbstract
Namespace Prefix: | fn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, after tax and reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness, attributable to parent. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTaxParent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after tax and before reclassification, of gain (loss) from derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 10A -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126968391&loc=SL7669646-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount, after tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 15 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e689-108580 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section 45 -Paragraph 11 -URI https://asc.fasb.org/extlink&oid=126968391&loc=d3e637-108580 + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeForwardMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingGeneralAndAdministrativeExpensesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_ForeignCurrencyGainLossMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_OtherComprehensiveIncomeLocationAxis=us-gaap_OtherComprehensiveIncomeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateSwapMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_InterestExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |