A very similar pursuit of ideological purity (in name only; it was a power game) was a characteristic of daily life in the Soviet Union.
Even until the very end, things like the fact that your grandfather used to own more than 10 cows before the revolution (a wealthy oppressor!) or that your family celebrates Christmas (unloyal to the party!) were used to morally judge you and deny things like an apartment allocation (there was no real estate market) or a permit to buy a car. The government had massive databases of personal histories of people (several generations deep, going back many decades) to assess their "morals", supplemented with characterizations people had to write about each other. Almost every hiring, foreign trip, university application etc was checked against these databases. Every organization of had a committee for this. All companies too (because they were all state-owned).
Instead of "toxic", they used the phrase "ideologically unsound", and once you had been deemed as such, many doors in life remained closed for you.
Kinda strange to see the free world slowly re-inventing this.