This is a cascode cross coupled dynamic comparator that has good common mode performance
https://github.com/komalkrishna5/dynamic-comparator.git
sky130A