QCD resummation for groomed jet observables at NNLL+NLO