Looking Under the Hood of DetectGPT