My guess is you’d have two loans then and the second loan will probably have a higher interest rate because it’s considered more risky ?
Internet said it’s a separate loan, usually variable rate, but typically a similar rate to the initial mortgage. They can be fixed rate too. They can be paid off early. And they can be refinanced. The banks want as much debt as possible no wonder they make these things so sweet.