its probably most similar to the word "certainly" (which is more common and fine to use). Its not commonly used. I think using it to agree with someone could seem a little odd in regular company. When I picture that word being used I think of professors talking to each other so I think it could be a bit overly formal in certain circumstances.