Earlier quoted context omitted.
religion is a facet, or component of ideology.
I would not describe the defining parts of buddhism as ideological so much as philosophical and sensuous. I’m not sure a good definition of religion exists. You’re being hugey reductive.
If you remove all the cosmology and mysticism from Buddhism, you are left with something other than the original practice.