In a large pot over medium-high heat, add the oil, then onion and cook, stirring often until onion is soft and translucent.
Add the garlic and cook, stirring for another minute until fragrant.
Add the salt, turmeric, cumin, cinnamon, cardamom, and pepper; stir with the onion and garlic until well combined. Cook for one minute.
Add the tomatoes, broth, coconut milk, and lentils. Bring to a boil, then reduce heat and simmer uncovered about 20 minutes or until lentils are soft.
When lentils are soft, turn off the heat and add the spinach; let it gently wilt into the soup.
Serve immediately and garnish with a generous squeeze of fresh lime juice and any other preferred garnish.
