Cascaded hard X-ray self-seeded free-electron laser at megahertz repetition rate | Synapse