Text this: Compact folded metasurface spectrometer