Text this: Finite groups whose coprime graph is split, threshold, chordal, or a cograph