v3.23.1

Share-based compensation - Summary of Effect of Recording Share-Based Compensation Expense (Details) - USD ($) $ in Thousands | 3 Months Ended | 9 Months Ended
--- | --- | ---
Mar. 31, 2023 | Mar. 25, 2022 | Mar. 31, 2023 | Mar. 25, 2022
Share-based compensation expense by type of award: |  |  |  |
Restricted share units | $ 3,945 | $ 3,126 | $ 12,845 | $ 11,720
Performance share units | 2,774 | 2,597 | 8,372 | 9,981
Total share-based compensation expense | 6,719 | 5,723 | 21,217 | 21,701
Tax effect on share-based compensation expense | 0 | 0 | 0 | 0
Net effect on share-based compensation expense | $ 6,719 | $ 5,723 | $ 21,217 | $ 21,701

X
- Definition Performance Stock Units Expense + References No definition available. + Details
Name: | fn_PerformanceStockUnitsExpense
Namespace Prefix: | fn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after tax, of expense for award under share-based payment arrangement. + References No definition available. + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of tax benefit for recognition of expense of award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of noncash expense for award of restricted stock or unit under share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_RestrictedStockExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of noncash expense for share-based payment arrangement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585 + Details
Name: | us-gaap_ShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration