The Gramian matrix is positive semidefinite, and every positive symmetric semidefinite matrix is the Gramian matrix for some set of vectors.
Under change of basis, to an orthogonal basis, represented by an invertible orthogonal matrix P, the Gram matrix will change by a matrix congruence to P^TGP.