Is modern science suppressing legitimate dissent the same way religion once did?

Science prides itself on truth and evidence—but when dissenting ideas are ridiculed, censored, or blacklisted, critics argue it starts to resemble the dogma of religion: authority deciding what can’t be questioned. Are we witnessing the same intellectual suppression under a new banner, or is labeling legitimate critique as “heresy” just a necessary guardrail against misinformation?