If anything intelligence is only weekly linked to brain size. It's mostly about how complex neuronal connections are wired, specifically how long and thick dendrites are, how fast action potentials. Einstein's brain didn't weight much.
But that's up for another thread.