just be careful with using pure
vw
inside the middle value because it can get way too small on mobile devices. i usually mix in a fixed unit to act as a floor so the scaling stays predictable.
clamp(1.5rem, 1rem + 3vw, 3rem)
this prevents the text from becoming
unreadable when the viewport width drops below certain thresholds.