Aspects of the dark dimension in cosmology