Cook the garlic: Heat the oven to 325°F (160°C). Put the peeled cloves in a small ovenproof dish and add enough olive oil to just cover them. Cover with foil and cook for about 45 to 60 minutes, checking from 40 minutes, until the cloves mash easily with a fork. Stop before they turn dark. Alternatively, use a small pot on the stove over low heat for about 20 to 30 minutes, stirring occasionally. Keep the oil gently bubbling, not rapidly frying; large cloves may need longer.
Cool and measure: Lift all the garlic out with a slotted spoon and spread it on a plate to cool. Measure the reserved cooking oil listed in the mayo ingredients. Let both the garlic cloves and this measured oil cool completely to room temperature before blending. The soy milk should also be at room temperature. Refrigerate any remaining garlic oil promptly.
Fill the beaker: Use a tall, narrow beaker that fits the head of your immersion blender closely. Add the soy milk, vinegar, mustard, salt and cooled garlic. Pour in the neutral oil and the measured garlic cooking oil. Let the liquids settle briefly.
Blend: Place the blender flat on the bottom and blend without lifting for about 15 to 30 seconds, until a pale, thick layer forms around the blade. Slowly raise the blender to draw in the remaining oil, then move it gently up and down until the mayo is smooth and no oil remains on top. This usually takes about 1 minute in total.
Adjust and serve: Taste and add more salt or a small splash of vinegar if needed. If the mayo is too thick, stir in water a teaspoon at a time. Use as a dip or spread, or chill for a firmer texture.
Store: Transfer to a clean covered container and refrigerate promptly at 40°F (4°C) or below. Use within 4 days of cooking the garlic. Refrigerate the leftover garlic oil separately and use within the same 4 days, or freeze it. Do not leave the mayo or garlic oil at room temperature for more than 2 hours.
Notes
Oil quantity: Only the measured garlic cooking oil goes into the mayo. Do not pour in all the oil from the baking dish. Use more neutral oil in its place if you prefer a milder flavor.Milk and equipment: Plain unsweetened soy milk and a narrow immersion blender beaker give the most reliable texture. For doubled batches, blend separately if your beaker is too small.Yield and nutrition: Makes approximately 1¾ cups, or 28 tablespoons. Nutrition is estimated per tablespoon using 1 cup total blended oil, with a small allowance for oil clinging to the garlic. Unused cooking oil and serving extras are excluded.