Mary most certainly came from the High House of Judah. She had to. It is Mary's bloodline that must prove Jesus as David's legitimate heir, as Joseph, Mary's husband, was of an accursed line of David (never again to sit the throne).
Joseph of Aramathea would have succeeded Heli, and was probably Mary's brother, with Jesus adopted into his line. He would predictably control the High seat (David's) in the Knesset, and would be deeply involved in governance, and very likely business as well, with the full weight and inheritances of David's House at his command.
Oops. Knesset=Sanhedron