Typically, an uncoupling membrane like Prodeso will be best for this application because it can be paired with accessories to effectively waterproof the subfloor.
However, if you have a cement subfloor, then ThermalSheet synthetic cork is a good choice because of its high 1.5 R-value and moisture resistance.