In a large frying pan
, heat oil over medium heat. When oil shimmers, add pine nuts and cook until they make a popping noise and start to brown, about 1 minute. Stir in garlic and onion and season well with salt and freshly ground black pepper. Cook, stirring occasionally, until onion is golden brown, about 3 minutes. Transfer onion mixture to a food processor
fitted with a blade, add in remaining ingredients, and process until smooth. Taste and adjust seasoning, as necessary. Serve with flatbread
, toasted pita
wedges, or lavash crackers for dipping.