Text this: A compact high-energy particle detector for low-cost deep space missions