Hyperelliptic parametrizations of $$\pmb {\mathbb {Q}}$$-curves