Text this: Probing superheavy dark matter with gravitational waves