XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.26.1

Inventory - Narrative (Details) $ in Thousands | 9 Months Ended
--- | ---
Mar. 27, 2026 USD ($)
Inventory Disclosure [Abstract] |
Inventory reclassified | $ 4,444

X
- Definition Inventory Reclassified + References No definition available. + Details
Name: | mrcy_InventoryReclassified
Namespace Prefix: | mrcy_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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