{
 "version": "2.2",
 "instance": {
  "ny20010304x1_def14a.htm": {
   "nsprefix": "fn",
   "nsuri": "http://fabrinet.com/20231212",
   "dts": {
    "schema": {
     "local": [
      "fn-20231212.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2004/ref-2004-08-10.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/lrr/arcrole/factExplanatory-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022q4/dei-2022q4.xsd",
      "https://xbrl.sec.gov/ecd/2022q4/ecd-2022q4.xsd"
     ]
    },
    "definitionLink": {
     "local": [
      "fn-20231212_def.xml"
     ]
    },
    "labelLink": {
     "local": [
      "fn-20231212_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "fn-20231212_pre.xml"
     ]
    },
    "inline": {
     "local": [
      "ny20010304x1_def14a.htm"
     ]
    }
   },
   "keyStandard": 26,
   "keyCustom": 0,
   "axisStandard": 3,
   "axisCustom": 0,
   "memberStandard": 3,
   "memberCustom": 7,
   "hidden": {
    "total": 3,
    "http://xbrl.sec.gov/dei/2022q4": 3
   },
   "contextCount": 49,
   "entityCount": 1,
   "segmentCount": 10,
   "elementCount": 45,
   "unitCount": 1,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/ecd/2022q4": 93,
    "http://xbrl.sec.gov/dei/2022q4": 4,
    "http://fasb.org/us-gaap/2022": 3
   },
   "report": {
    "R1": {
     "role": "http://fabrinet.com/role/DocumentAndEntityInformation",
     "longName": "000100 - Document - Document and Entity Information",
     "shortName": "Document and Entity Information",
     "isDefault": "true",
     "groupType": "document",
     "subGroupType": "",
     "menuCat": "Cover",
     "order": "1",
     "firstAnchor": {
      "contextRef": "c20220625to20230630",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ny20010304x1_def14a.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20220625to20230630",
      "name": "dei:EntityRegistrantName",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "td",
       "tr",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ny20010304x1_def14a.htm",
      "first": true,
      "unique": true
     }
    },
    "R2": {
     "role": "http://fabrinet.com/role/PayVsPerformanceDisclosure",
     "longName": "060100 - Disclosure - Pay vs Performance Disclosure",
     "shortName": "Pay vs Performance Disclosure",
     "isDefault": "false",
     "groupType": "disclosure",
     "subGroupType": "",
     "menuCat": "Notes",
     "order": "2",
     "firstAnchor": {
      "contextRef": "c20220625to20230630",
      "name": "ecd:PvpTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ny20010304x1_def14a.htm",
      "first": true,
      "unique": true
     },
     "uniqueAnchor": {
      "contextRef": "c20220625to20230630",
      "name": "ecd:PvpTableTextBlock",
      "unitRef": null,
      "xsiNil": "false",
      "lang": "en-US",
      "decimals": null,
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "reportCount": 1,
      "baseRef": "ny20010304x1_def14a.htm",
      "first": true,
      "unique": true
     }
    }
   },
   "tag": {
    "ecd_NonPeoNeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "NonPeoNeoMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO [Member]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "ecd_ExecutiveCategoryAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "ExecutiveCategoryAxis",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Executive Category [Axis]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "ecd_MeasureAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "MeasureAxis",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure [Axis]"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "fn_AdjustForTheChangeInFairValueAsOfVestingDateFromTheEndOfThePriorFiscalYearOfEquityAwardsGrantedInPriorFiscalYearsForWhichAllApplicableVestingConditionsWereSatisfiedByEndOfTheCoveredFiscalYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fabrinet.com/20231212",
     "localname": "AdjustForTheChangeInFairValueAsOfVestingDateFromTheEndOfThePriorFiscalYearOfEquityAwardsGrantedInPriorFiscalYearsForWhichAllApplicableVestingConditionsWereSatisfiedByEndOfTheCoveredFiscalYearMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjust for the change in fair value as of vesting date (from the end of the prior fiscal year) of equity awards granted in prior fiscal years for which all applicable vesting conditions were satisfied at the end of or during the covered fiscal year.",
        "label": "Adjust for the Change in Fair Value as of Vesting Date (From the End of the Prior Fiscal Year) of Equity Awards Granted in Prior Fiscal Years for which All Applicable Vesting Conditions were Satisfied by End of the Covered Fiscal Year [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_CoSelectedMeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "CoSelectedMeasureName",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Name"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "ecd_AllIndividualsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "AllIndividualsMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Individuals [Member]"
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36",
      "r37",
      "r49",
      "r50"
     ]
    },
    "us-gaap_NetIncomeLoss": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "localname": "NetIncomeLoss",
     "crdr": "credit",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Net Income (Loss)",
        "documentation": "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent."
       }
      }
     },
     "auth_ref": [
      "r0",
      "r1",
      "r2",
      "r3",
      "r4",
      "r5",
      "r6",
      "r7",
      "r8",
      "r9",
      "r10",
      "r11",
      "r12",
      "r13",
      "r14",
      "r15",
      "r16",
      "r17",
      "r18",
      "r19",
      "r20",
      "r21",
      "r22",
      "r23",
      "r24",
      "r25",
      "r26",
      "r27",
      "r28",
      "r29",
      "r30",
      "r31",
      "r32",
      "r33",
      "r51"
     ]
    },
    "ecd_PeerGroupIssuersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PeerGroupIssuersFnTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Issuers, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "fn_TheFairValueAsOfTheEndOfTheCoveredFiscalYearOfEquityAwardsGrantedInTheCoveredFiscalYearThatAreOutstandingAndUnvestedAsOfTheEndOfTheCoveredFiscalYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fabrinet.com/20231212",
     "localname": "TheFairValueAsOfTheEndOfTheCoveredFiscalYearOfEquityAwardsGrantedInTheCoveredFiscalYearThatAreOutstandingAndUnvestedAsOfTheEndOfTheCoveredFiscalYearMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value as of the end of the covered fiscal year of equity awards granted in the covered fiscal year that are outstanding and unvested as of the end of the covered fiscal year.",
        "label": "The Fair Value as of the End of the Covered Fiscal Year of Equity Awards Granted in the Covered Fiscal Year that are Outstanding and Unvested as of the End of the Covered Fiscal Year [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_NonPeoNeoAvgCompActuallyPaidAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "NonPeoNeoAvgCompActuallyPaidAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Compensation Actually Paid Amount"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "dei_DocumentType": {
     "xbrltype": "submissionTypeItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022q4",
     "localname": "DocumentType",
     "presentation": [
      "http://fabrinet.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Document Type",
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'."
       }
      }
     },
     "auth_ref": []
    },
    "ecd_IndividualAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "IndividualAxis",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Individual [Axis]"
       }
      }
     },
     "auth_ref": [
      "r35",
      "r36",
      "r37",
      "r49",
      "r50"
     ]
    },
    "ecd_PvpTable": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PvpTable",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Table]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "ecd_MeasureName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "MeasureName",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Measure Name"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "ecd_PeoTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PeoTotalCompAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "fn_AdjustForTheChangeInFairValueAsOfTheEndOfCoveredFiscalYearFromTheEndOfThePriorFiscalYearOfEquityAwardsGrantedInPriorFiscalYearsThatAreOutstandingAndUnvestedAsOfTheEndOfCoveredFiscalYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fabrinet.com/20231212",
     "localname": "AdjustForTheChangeInFairValueAsOfTheEndOfCoveredFiscalYearFromTheEndOfThePriorFiscalYearOfEquityAwardsGrantedInPriorFiscalYearsThatAreOutstandingAndUnvestedAsOfTheEndOfCoveredFiscalYearMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjust for the change in fair value as of the end of covered fiscal year (from the end of the prior fiscal year) of equity awards granted in prior fiscal years that are outstanding and unvested as of the end of covered fiscal year.",
        "label": "Adjust for the Change in Fair Value as of the End of Covered Fiscal Year (From the End of the Prior Fiscal Year) of Equity Awards Granted in Prior Fiscal Years that are Outstanding and Unvested as of the End of Covered Fiscal Year [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "dei_CoverAbstract": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022q4",
     "localname": "CoverAbstract",
     "lang": {
      "en-us": {
       "role": {
        "label": "Cover [Abstract]",
        "documentation": "Cover page."
       }
      }
     },
     "auth_ref": []
    },
    "fn_TotalEquityAdjustmentsMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fabrinet.com/20231212",
     "localname": "TotalEquityAdjustmentsMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total equity adjustments.",
        "label": "Total Equity Adjustments [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AllExecutiveCategoriesMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "AllExecutiveCategoriesMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Executive Categories [Member]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "ecd_NonPeoNeoAvgTotalCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "NonPeoNeoAvgTotalCompAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-PEO NEO Average Total Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r39"
     ]
    },
    "dei_EntityRegistrantName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022q4",
     "localname": "EntityRegistrantName",
     "presentation": [
      "http://fabrinet.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Registrant Name",
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "ecd_AdjToCompAxis": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "AdjToCompAxis",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation [Axis]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "ecd_PeoActuallyPaidCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PeoActuallyPaidCompAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Actually Paid Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r40"
     ]
    },
    "fn_EquityAwardsGrantedInAnyPriorFiscalYearThatFailToMeetTheApplicableVestingConditionsDuringTheCoveredFiscalYearTheFairValueAsOfTheEndOfPriorFiscalYearMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fabrinet.com/20231212",
     "localname": "EquityAwardsGrantedInAnyPriorFiscalYearThatFailToMeetTheApplicableVestingConditionsDuringTheCoveredFiscalYearTheFairValueAsOfTheEndOfPriorFiscalYearMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity awards granted in any prior fiscal year that fail to meet the applicable vesting conditions during the covered fiscal year, the fair value as of the end of prior fiscal year.",
        "label": "Equity Awards Granted in Any Prior Fiscal Year that Fail to Meet the Applicable Vesting Conditions During the Covered Fiscal Year, the Fair Value as of the End of Prior Fiscal Year [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_PeoMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PeoMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO [Member]"
       }
      }
     },
     "auth_ref": [
      "r49"
     ]
    },
    "fn_EquityAwardsThatAreGrantedAndVestInTheSameCoveredFiscalYearTheFairValueAsOfTheVestingDateMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fabrinet.com/20231212",
     "localname": "EquityAwardsThatAreGrantedAndVestInTheSameCoveredFiscalYearTheFairValueAsOfTheVestingDateMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Equity awards that are granted and vest in the same covered fiscal year, the fair value as of the vesting date.",
        "label": "Equity Awards that are Granted and Vest in the Same Covered Fiscal Year, the Fair Value as of the Vesting Date [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_AdjToCompAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "AdjToCompAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Compensation Amount"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "ecd_AllAdjToCompMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "AllAdjToCompMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "All Adjustments to Compensation [Member]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "dei_EntityCentralIndexKey": {
     "xbrltype": "centralIndexKeyItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022q4",
     "localname": "EntityCentralIndexKey",
     "presentation": [
      "http://fabrinet.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Entity Central Index Key",
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK."
       }
      }
     },
     "auth_ref": [
      "r34"
     ]
    },
    "ecd_TotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "TotalShareholderRtnAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "ecd_PeoName": {
     "xbrltype": "normalizedStringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PeoName",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "PEO Name"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "ecd_NamedExecutiveOfficersFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "NamedExecutiveOfficersFnTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Named Executive Officers, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "ecd_AdjToNonPeoNeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "AdjToNonPeoNeoCompFnTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment to Non-PEO NEO Compensation Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "ecd_PayVsPerformanceDisclosureLineItems": {
     "xbrltype": "stringItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PayVsPerformanceDisclosureLineItems",
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance Disclosure [Line Items]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "ecd_AdjToPeoCompFnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "AdjToPeoCompFnTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustment To PEO Compensation, Footnote [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r43"
     ]
    },
    "ecd_PeerGroupTotalShareholderRtnAmt": {
     "xbrltype": "monetaryItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PeerGroupTotalShareholderRtnAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Peer Group Total Shareholder Return Amount"
       }
      }
     },
     "auth_ref": [
      "r41"
     ]
    },
    "ecd_CompActuallyPaidVsNetIncomeTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "CompActuallyPaidVsNetIncomeTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Net Income [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r45"
     ]
    },
    "ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "CompActuallyPaidVsTotalShareholderRtnTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Total Shareholder Return [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r44"
     ]
    },
    "ecd_TabularListTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "TabularListTableTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Tabular List [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r48"
     ]
    },
    "ecd_PvpTableTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "PvpTableTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Pay vs Performance [Table Text Block]"
       }
      }
     },
     "auth_ref": [
      "r38"
     ]
    },
    "ecd_CoSelectedMeasureAmt": {
     "xbrltype": "decimalItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "CoSelectedMeasureAmt",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Company Selected Measure Amount"
       }
      }
     },
     "auth_ref": [
      "r42"
     ]
    },
    "ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "CompActuallyPaidVsCoSelectedMeasureTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Compensation Actually Paid vs. Company Selected Measure [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r46"
     ]
    },
    "fn_GrantDateFairValueOfEquityAwardsReportedInSummaryCompensationTableMember": {
     "xbrltype": "domainItemType",
     "nsuri": "http://fabrinet.com/20231212",
     "localname": "GrantDateFairValueOfEquityAwardsReportedInSummaryCompensationTableMember",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Grant date fair value of equity awards reported in summary compensation table.",
        "label": "Grant Date Fair Value of Equity Awards Reported in Summary Compensation Table [Member]"
       }
      }
     },
     "auth_ref": []
    },
    "ecd_TotalShareholderRtnVsPeerGroupTextBlock": {
     "xbrltype": "textBlockItemType",
     "nsuri": "http://xbrl.sec.gov/ecd/2022q4",
     "localname": "TotalShareholderRtnVsPeerGroupTextBlock",
     "presentation": [
      "http://fabrinet.com/role/PayVsPerformanceDisclosure"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Total Shareholder Return Vs Peer Group [Text Block]"
       }
      }
     },
     "auth_ref": [
      "r47"
     ]
    },
    "dei_AmendmentFlag": {
     "xbrltype": "booleanItemType",
     "nsuri": "http://xbrl.sec.gov/dei/2022q4",
     "localname": "AmendmentFlag",
     "presentation": [
      "http://fabrinet.com/role/DocumentAndEntityInformation"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amendment Flag",
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission."
       }
      }
     },
     "auth_ref": []
    }
   }
  }
 },
 "std_ref": {
  "r0": {
   "role": "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(20))",
   "URI": "https://asc.fasb.org/extlink&oid=126953954&loc=SL114868664-224227"
  },
  "r1": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "230",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "28",
   "URI": "https://asc.fasb.org/extlink&oid=126954810&loc=d3e3602-108585"
  },
  "r2": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "942",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.9-04(22))",
   "URI": "https://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
  },
  "r3": {
   "role": "http://fasb.org/us-gaap/role/ref/legacyRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "944",
   "SubTopic": "220",
   "Section": "S99",
   "Paragraph": "1",
   "Subparagraph": "(SX 210.7-04(18))",
   "URI": "https://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
  },
  "r4": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "205",
   "SubTopic": "20",
   "Section": "50",
   "Paragraph": "7",
   "URI": "https://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
  },
  "r5": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1A",
   "Subparagraph": "(a)",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669619-108580"
  },
  "r6": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "1B",
   "Subparagraph": "(a)",
   "URI": "https://asc.fasb.org/extlink&oid=126968391&loc=SL7669625-108580"
  },
  "r7": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "220",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "6",
   "URI": "https://asc.fasb.org/extlink&oid=124431353&loc=SL124452729-227067"
  },
  "r8": {
   "role": "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": "https://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
  },
  "r9": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "1",
   "Subparagraph": "(b)(2)",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22499-107794"
  },
  "r10": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(a)",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r11": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "11",
   "Subparagraph": "(b)",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22694-107794"
  },
  "r12": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22583-107794"
  },
  "r13": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "4",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22595-107794"
  },
  "r14": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "8",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22658-107794"
  },
  "r15": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "250",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "9",
   "URI": "https://asc.fasb.org/extlink&oid=124431687&loc=d3e22663-107794"
  },
  "r16": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "260",
   "SubTopic": "10",
   "Section": "45",
   "Paragraph": "60B",
   "Subparagraph": "(a)",
   "URI": "https://asc.fasb.org/extlink&oid=126958026&loc=SL5780133-109256"
  },
  "r17": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "22",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8736-108599"
  },
  "r18": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "30",
   "Subparagraph": "(b)",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8906-108599"
  },
  "r19": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(c)",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r20": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "32",
   "Subparagraph": "(f)",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8933-108599"
  },
  "r21": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "323",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "3",
   "Subparagraph": "(c)",
   "URI": "https://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
  },
  "r22": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r23": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r24": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r25": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  },
  "r26": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r27": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r28": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r29": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r30": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442552-122756"
  },
  "r31": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "815",
   "SubTopic": "40",
   "Section": "65",
   "Paragraph": "1",
   "Subparagraph": "(f)",
   "URI": "https://asc.fasb.org/extlink&oid=126732423&loc=SL123482106-238011"
  },
  "r32": {
   "role": "http://www.xbrl.org/2003/role/disclosureRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "825",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "28",
   "Subparagraph": "(f)",
   "URI": "https://asc.fasb.org/extlink&oid=123596393&loc=d3e14064-108612"
  },
  "r33": {
   "role": "http://www.xbrl.org/2003/role/exampleRef",
   "Publisher": "FASB",
   "Name": "Accounting Standards Codification",
   "Topic": "280",
   "SubTopic": "10",
   "Section": "50",
   "Paragraph": "31",
   "URI": "https://asc.fasb.org/extlink&oid=126901519&loc=d3e8924-108599"
  },
  "r34": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Exchange Act",
   "Number": "240",
   "Section": "12",
   "Subsection": "b-2"
  },
  "r35": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 20-F",
   "Subsection": "F",
   "Paragraph": "1",
   "Subparagraph": "ii",
   "Section": "6"
  },
  "r36": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form 40-F",
   "Section": "19",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r37": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Form N-CSR",
   "Section": "18",
   "Paragraph": "a",
   "Subparagraph": "2"
  },
  "r38": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "1"
  },
  "r39": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "ii"
  },
  "r40": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iii"
  },
  "r41": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "iv"
  },
  "r42": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "2",
   "Subparagraph": "vi"
  },
  "r43": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "3"
  },
  "r44": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "i"
  },
  "r45": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "ii"
  },
  "r46": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iii"
  },
  "r47": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "5",
   "Subparagraph": "iv"
  },
  "r48": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6"
  },
  "r49": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "v",
   "Paragraph": "6",
   "Subparagraph": "i"
  },
  "r50": {
   "role": "http://www.xbrl.org/2003/role/presentationRef",
   "Publisher": "SEC",
   "Name": "Regulation S-K",
   "Number": "229",
   "Section": "402",
   "Subsection": "w",
   "Paragraph": "1",
   "Subparagraph": "ii"
  },
  "r51": {
   "role": "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": "https://asc.fasb.org/extlink&oid=126975872&loc=SL124442526-122756"
  }
 }
}
