{"cik":2087450,"taxonomy":"us-gaap","tag":"NetIncomeLoss","label":"Net Income (Loss) Attributable to Parent","description":"The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.","entityName":"Legato Merger Corp. IV","units":{"USD":[{"start":"2025-09-01","end":"2025-11-30","val":-33756,"accn":"0001829126-26-001672","fy":2026,"fp":"Q1","form":"10-Q","filed":"2026-02-26","frame":"CY2025Q4"},{"start":"2025-09-01","end":"2026-02-28","val":653061,"accn":"0001829126-26-003499","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-04-14"},{"start":"2025-12-01","end":"2026-02-28","val":686816,"accn":"0001829126-26-003499","fy":2026,"fp":"Q2","form":"10-Q","filed":"2026-04-14","frame":"CY2026Q1"},{"start":"2025-09-01","end":"2026-05-31","val":2441324,"accn":"0001829126-26-007408","fy":2026,"fp":"Q3","form":"10-Q","filed":"2026-07-08"},{"start":"2026-03-01","end":"2026-05-31","val":1788263,"accn":"0001829126-26-007408","fy":2026,"fp":"Q3","form":"10-Q","filed":"2026-07-08","frame":"CY2026Q2"},{"start":"2025-09-01","end":"2026-08-31","val":4202267,"accn":"0001829126-26-012403","fy":2026,"fp":"FY","form":"10-K","filed":"2026-11-13"},{"start":"2025-09-01","end":"2026-08-31","val":4202267,"accn":"0001829126-26-012928","fy":2026,"fp":"FY","form":"10-K/A","filed":"2026-11-27","frame":"CY2026"}]}}