The dodo has been called a lot of things over the centuries — silly, stupid, a dimwitted bird that waddled to its own doom. But new research suggests we may have judged this extinct creature entirely wrong.

Scientists from Canada and Australia have used CT scans to peek inside the skulls of three dodo specimens kept in museums. What they found flips the old story on its head: the dodo's brain was not smaller than expected for a bird of its size. In fact, the part of the brain responsible for thinking was exactly as big as it should have been.

The study was led by Sara Citron, a PhD student at the University of Lethbridge in Canada, along with her advisor Andrew Iwaniuk and researchers from Flinders University in Australia, the Smithsonian Institution, National Museums Scotland, and the University of Copenhagen.

"There is no evidence that the dodo was any less intelligent than its relatives — and we know that pigeons are pretty smart," Iwaniuk said.

The team also discovered something surprising about how dodos might have lived. Their eyes were slightly larger than average, but the part of the brain that processes visual information — called the optic lobes — was unusually small. The researchers noticed a similar pattern in birds that are active at night, like Australia's elusive night parrot or New Zealand's heavy, flightless kakapo. Based on this, they believe dodos may have been active at dawn, dusk, or nighttime, which would make them the only nocturnal pigeon in the world.

"We suspect that dodos were better adapted to seeing in darker conditions," said Vera Weisbecker, a professor of evolutionary biology at Flinders University and a co-author of the study. "This could mean that their vision was more pixelated and sensitive to low light."

The researchers think this nighttime lifestyle may have actually helped dodos survive. While many turtle species on their home island of Mauritius were active during the day, the dodo could venture out at night to find food without competition.

So where did the "silly dodo" myth come from? Citron says it probably started because the birds had no experience with predators. Living on an island free of cats, rats, and other hunters, dodos had no reason to fear humans or other animals. When sailors arrived, the trusting birds reportedly walked right up to them — and were killed by the hundreds.

"Calling them 'stupid' for being naive makes it sound like they deserved to go extinct, which is so unfair," Citron said. "These gentle animals were possibly quite social."

The team hopes their findings, published in the Zoological Journal of the Linnean Society, will encourage other scientists to study museum collections and learn more about this remarkable bird.