Basic Expert
Explorer
I would say that a targeted creature that uses its turn to move any distance away from the caster satisfies the text of the spell. Nothing in the spell specifies that the target needs to use all of their movement fleeing so they are not obligated to do so. If they spend their turn moving 5 feet or 30 feet, it's all the same. If there is any valid spaces that aren't damaging terrain, the recipient can choose to move there. A target on a 5ft square island in a sea of lava is probably out of luck. Most other targets are probably fine.
They could have written it as: "the target spends its turn moving as far away from the caster as it can, regardless of danger" or "the target must spend its turn using a dash action to move as far away from the caster as it can, regardless of danger" or something similar. They chose not to.
They could have written it as: "the target spends its turn moving as far away from the caster as it can, regardless of danger" or "the target must spend its turn using a dash action to move as far away from the caster as it can, regardless of danger" or something similar. They chose not to.

