The location and description of the lumps that you are giving fits with these lumps being lymph nodes. These can occur when a baby is fighting off a virus or other cold infection.
Your description of them is not concerning for bad things, like cancer.
I suspect your daughter has an eight week check up coming up. Her doctor can take a look at these then.