v3.23.1

Business segments and geographic information - Schedule of Long-lived Assets by Geographic Areas (Details) - USD ($) $ in Thousands | Mar. 31, 2023 | Jun. 24, 2022
--- | --- | ---
Segment Reporting Information [Line Items] |  |
Long-lived assets | $ 308,365 | $ 292,277
Thailand |  |
Segment Reporting Information [Line Items] |  |
Long-lived assets | 261,506 | 240,750
U.S. |  |
Segment Reporting Information [Line Items] |  |
Long-lived assets | 25,669 | 25,938
China |  |
Segment Reporting Information [Line Items] |  |
Long-lived assets | 17,651 | 19,686
Israel |  |
Segment Reporting Information [Line Items] |  |
Long-lived assets | 3,023 | 4,025
Others |  |
Segment Reporting Information [Line Items] |  |
Long-lived assets | $ 516 | $ 1,878

X
- Definition Long-lived assets other than financial instruments, long-term customer relationships of a financial institution, mortgage and other servicing rights, deferred policy acquisition costs, and deferred tax assets. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 280 -SubTopic 10 -Section 50 -Paragraph 41 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126901519&loc=d3e9038-108599 + Details
Name: | us-gaap_NoncurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 No definition available. + Details
Name: | us-gaap_SegmentReportingInformationLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_StatementGeographicalAxis=country_TH
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_US
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_CN
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=country_IL
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_StatementGeographicalAxis=fn_OthersGeographicAreaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |