EF-M
everything’s smaller on the eos m; the mount is 47mm diameter, with an 18mm flange distance
as the flange distance is much shorter, you can only attach ef-m lenses directly to the camera
ef-m lenses are matched to the smaller eos m, and won’t fit on a camera with an ef or ef-s mount