What is the airspeed velocity of an unladen swallow?

I am not sure. In 5e, I think they are linked to melee attacks, but given the wording of the spells, I suspect mechanically they could work with ranged attacks in BG3. That being said, there are limits to the value of ranged attacks on a paladin given the competing opportunity of divine smite.