Yep. I consider up to a million lines of code as mid-sized.
When I worked in banking, the codebases were often larger than a million.