My goto for this kind of thing is RAM Mounts. The X grip (preferably with the rubber tether) or the Quick grip just work. A bit bulky for bicycles, but totally reliable in my experience using them in off road vehicles (4 and 2 wheeled), motorbikes, cars, bicycles.