There is a unique positive real number $a$ such that the tangent line to $y = x^2 + 1$ at $x = a$ goes through the origin. Compute $a$.