I made a SVG shape in Vectr for a typographic logo I was creating (not a designer). The SVG included some text, for which I used one of the Google fonts included in Vectr. When I exported it, the graphic was 400KB or something ridiculous.
I put it into SVGOMg, and it quickly identified the font as the culprit. I removed the font and the file size went to 0.6KB.
Does Illustrator include the file size of the font when it exports to SVG?