Elm targets web browser languages, so I considered Phoenix to be a better point of comparison than Elixir broadly.

I’m not sure I’m following. Gleam is inspired by Elm in a lot of ways, and the major draw over Elixir would be the Elm-inspired type system, but Gleam is still a language not a web framework (which Elm is not either, since it only targets clients afaik).