Characterization of K2-167 b and CALM, a new stellar activity mitigation method