Resize svg using viewport

hi there

I have logo with an icon + text on desktop 120x 24 and on mobile I would like to get rid of the text and use 24x24 icon can I do something like this using Lottie

and if it helps I am using tailwindcss