Let $p$ and $q$ be prime numbers such that $p^2+p+1=3q^a$: is it true that $a=1$?

This specific equation appears when computing order components of finite groups.