Addressing $H_0$ and $S_8$ tensions within $f(Q)$ cosmology