A few years back, I had (unexpected) surgery in January, and was off of all exercise aside from some gentle walking until mid-February. Then on what was supposed to be my first longer ride in early March, I had a tire blow out on a potholed descent I was taking perhaps a little too fast, and went down, spraining a shoulder, so the next few weeks were indoor-riding only (where I could sit up and not use my arm).
Spoiler: I was A-OK, if slower than usual, on our hilly 100k and 200k in April. Had a blast, ignored the clock uphill and let myself be cautious on the downhills to regain my confidence there, and finished both with time to spare.
As long as you're not usually just under the wire, time-wise, you'll be fine. Take it easy and probably the only thing that might be pretty beat-up is your hindquarters, but skin heals pretty quickly.