Panting at night like that is worth keeping an eye on. A few common causes are a warm room, restlessness or anxiety, pain, or breathing and heart problems, and Dobermans can run warm. I would check the room temperature, make sure he has fresh water and a cool place to settle, and watch whether he is restless, coughing, or seems uncomfortable in any other way. If it keeps happening, or he seems distressed at all, I would get him checked by your vet, as they can listen to his heart and lungs and rule out anything serious.