It first appears in print in 1525, in a German algebra book by Christoff Rudolff, and it had no bar on top. The bar arrived a century later, in 1637, when Descartes drew a line across to fence in exactly what the root applies to.
So the sign you write today is two inventions stacked: Rudolff's hook and Descartes' fence.
\[\sqrt{100+21} = \sqrt{121} = 11 \qquad\qquad \sqrt{100}+21 = 10+21 = 31\]
same digits, same symbol: the bar decides