Glühwürmchen definitely refers to the flying variant. Might also refer to non flying species but I’ve never seen or heard anyone talk about any of those. The term is probably just used for any type of glowing insect, no matter if worm or bug.
Interesting, interesting. We call the female lightning bugs here glow worms because they are wingless, but today I'm learning that is not the case for all species!