It feeds on seeds, insects, and other small invertebrates