Why M-dwarf flares have a limited impact on the atmospheric evaporation of sub-Neptunes and Earth-sized planets | Synapse