Fairphone 4 randomly reboots by itself

My phone randomly rebooted once and after that it worked for half an hour or so. And after those 30 minutes it started to reboot itself over and over again. It starts up. logo appears and shuts down again. I cannot get into the safemode option as it already shuts down.