Atmospheric control of the cooling rate of impact melts and cryolavas on Titan's surface