Context. The red dwarf star K2-22 is transited every 9.14 h by an object which is best explained by being a disintegrating rocky exoplanet featuring a variable comet-like dust tail. While the dust is thought to dominate the transit light curve, gas …