# Does the range of Message refer to straight-line distance or distance along a clear path?

The Message cantrip has a range of 120 feet. However, it also includes this clause:

You can cast this spell through solid objects if you are familiar with the target and know it is beyond the barrier. Magical silence, 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood blocks the spell. The spell doesn't have to follow a straight line and can travel freely around corners or through openings.

Suppose I am 100 feet away from my target, and there is a gigantic solid block of lead between us, completely blocking any direct path. However, the wall has a hollow, twisty, winding tube connecting one side to the other, with a total length much longer than 120 feet. Does this allow me to communicate with my target via Message, since there is a clear path (through the tube) and the target is within range? Or does the range need to be measured along the path that the message spell is taking, in which case the spell would fail?