Thrush while pregnant

Anyone else get thrush during pregnancy? I’ve just gotten it and it’s terrible! I’m not sure if it’s pregnancy related our a reaction to the new washing detergent I’ve gotten. I just hope this doesn’t last too long 😩