The Bernstein problem for higher codimension