blue cheese in pregnancy

It’s safe to eat blue cheese on pizza ( obviously cooked) during pregnancy? I don’t think it’s a lot there as it’s just an ingredient along other ones.