Text this: Thickness insensitive nanocavities for 2D heterostructures using photonic molecules